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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue May 5 18:12:32 UTC 2020


 sw/source/uibase/app/docst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 37ee5d363890065ecc881e93ea540cfdebf76dfe
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue May 5 13:59:17 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue May 5 20:11:53 2020 +0200

    use SfxStyleSearchBits::All for SfxNewStyleDlg in writer, like calc does
    
    Change-Id: I44399a617b07acb93ca33d537bcfcc5554e1ede5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93490
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx
index a26e30f99d1a..8a3e93e3f82f 100644
--- a/sw/source/uibase/app/docst.cxx
+++ b/sw/source/uibase/app/docst.cxx
@@ -371,7 +371,7 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq )
                     case SID_STYLE_NEW_BY_EXAMPLE:
                     {
                         SfxStyleSheetBasePool& rPool = *GetStyleSheetPool();
-                        SfxNewStyleDlg aDlg(GetView()->GetFrameWeld(), rPool, rPool.GetSearchFamily(), rPool.GetSearchMask());
+                        SfxNewStyleDlg aDlg(GetView()->GetFrameWeld(), rPool, rPool.GetSearchFamily(), SfxStyleSearchBits::All);
                         if (aDlg.run() == RET_OK)
                         {
                             aParam = aDlg.GetName();


More information about the Libreoffice-commits mailing list