[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 5 07:41:04 UTC 2020
sfx2/source/dialog/templdlg.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 35b28515f8328bebb1cdfc5b85235d30e83f094e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun May 3 20:58:35 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue May 5 09:40:27 2020 +0200
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 at redhat.com>
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);
More information about the Libreoffice-commits
mailing list