summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-05 13:59:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-05 20:11:53 +0200
commit37ee5d363890065ecc881e93ea540cfdebf76dfe (patch)
treedaeba8d58b30942d9d0290e9cc08148b7d94be88 /sw/source
parent57c10c3fa2406d68ae87049ed1a28646f8e8e3b3 (diff)
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@redhat.com> 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 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();