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

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


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

New commits:
commit 0587cd484c010aa9ed21048d4ad35aae1ed5cd50
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue May 5 15:09:07 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue May 5 20:12:33 2020 +0200

    we end up making a nFamily style, not the style of GetSearchFamily
    
    so use that as the filter
    
    Change-Id: I91ef5b07ccbe9a4ceafa86e2331ea72bebe38145
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93492
    Tested-by: Jenkins
    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 ff96deea5f73..1d21764c7a0c 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());
+                        SfxNewStyleDlg aDlg(GetView()->GetFrameWeld(), rPool, nFamily);
                         if (aDlg.run() == RET_OK)
                         {
                             aParam = aDlg.GetName();


More information about the Libreoffice-commits mailing list