diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 15:09:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 20:12:33 +0200 |
commit | 0587cd484c010aa9ed21048d4ad35aae1ed5cd50 (patch) | |
tree | 59aee1941e9a9b6d50c0022cdd9b967470a1b5d5 /sw | |
parent | a53d8a01da71a1a278ee159e901a4303a9fe0883 (diff) |
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@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/app/docst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |