summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-05 12:29:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-05 16:26:14 +0200
commitbcd1d182a3dbcccc74b02ba051ac3520d0c4cd47 (patch)
tree4c1f314b8048b84d11591443be0e47b01fc7af82 /sfx2
parentadc783cccd06f26a6c997d3dcd894bb4dd93112e (diff)
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@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 1 insertions, 1 deletions
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;