sfx2/source/dialog/templdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bcd1d182a3dbcccc74b02ba051ac3520d0c4cd47 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue May 5 12:29:11 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue May 5 16:26:14 2020 +0200 SearchMask doesn't have a bearing on whether to enable/disable tree drag Change-Id: Id537a7a57adc6245025abb899fc9cfa61fb33d42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93474 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index b56583362026..f399545f5249 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -906,7 +906,7 @@ void SfxCommonTemplateDialog_Impl::EnableTreeDrag(bool bEnable) { if (pStyleSheetPool) { - SfxStyleSheetBase* pStyle = pStyleSheetPool->First(pStyleSheetPool->GetSearchFamily(), pStyleSheetPool->GetSearchMask()); + SfxStyleSheetBase* pStyle = pStyleSheetPool->First(pStyleSheetPool->GetSearchFamily()); bAllowReParentDrop = pStyle && pStyle->HasParentSupport() && bEnable; } bTreeDrag = bEnable; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits