summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-05 15:09:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-05 20:12:33 +0200
commit0587cd484c010aa9ed21048d4ad35aae1ed5cd50 (patch)
tree59aee1941e9a9b6d50c0022cdd9b967470a1b5d5 /sw/source
parenta53d8a01da71a1a278ee159e901a4303a9fe0883 (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/source')
-rw-r--r--sw/source/uibase/app/docst.cxx2
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();