From 0587cd484c010aa9ed21048d4ad35aae1ed5cd50 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 5 May 2020 15:09:07 +0100 Subject: we end up making a nFamily style, not the style of GetSearchFamily MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- sw/source/uibase/app/docst.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source') 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(); -- cgit v1.2.3