summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-03 20:58:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-05 09:40:27 +0200
commit35b28515f8328bebb1cdfc5b85235d30e83f094e (patch)
treebac860deb5340bcda6de7d6b8859232690bc4309 /sfx2
parentfe13c79964073fa2502cf9efc8f115d00bba6fae (diff)
search mask is always overwritten
and isn't used by SfxNewStyleDlg anymore Change-Id: Ia4ea161b3d292e6324c5f6a4c347623e10a2c8ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93360 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index bd4691c41f22..1493bcc8a23d 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1618,7 +1618,6 @@ void SfxCommonTemplateDialog_Impl::ActionSelect(const OString& rEntry)
}
else
nFilter=pStyleSheetPool->GetSearchMask();
- pStyleSheetPool->SetSearchMask( eFam, SfxStyleSearchBits::UserDefined );
// why? : FloatingWindow must not be parent of a modal dialog
SfxNewStyleDlg aDlg(pWindow ? pWindow->GetFrameWeld() : nullptr, *pStyleSheetPool, eFam, SfxStyleSearchBits::UserDefined);