[Libreoffice-commits] core.git: sfx2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue May 5 14:26:50 UTC 2020


 sfx2/source/dialog/templdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bcd1d182a3dbcccc74b02ba051ac3520d0c4cd47
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue May 5 12:29:11 2020 +0100
Commit:     Caolán McNamara <caolanm at 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 <caolanm at 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;


More information about the Libreoffice-commits mailing list