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

New commits:
commit 35b28515f8328bebb1cdfc5b85235d30e83f094e
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sun May 3 20:58:35 2020 +0100
Commit:     Caolán McNamara <[email protected]>
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 <[email protected]>

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);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to