summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-05 12:20:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-05 16:05:27 +0200
commit7821cdcc9a08e23408531fcfaf68c02f0556c969 (patch)
tree813684f52953c1039f7b0601f36f2217c60de4de /sw/source
parent4ce4d8e0d64867a47a8c7355894f6ae3d576db6d (diff)
nFamily is the SfxStyleFamily which was modified
so it seems natural to use that in the force update internal list call Change-Id: Id5871bdec5f2e06be6728c4a0290e8c91681d4fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93473 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/app/docstyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx
index b2d431310daf..693ae7f20b14 100644
--- a/sw/source/uibase/app/docstyle.cxx
+++ b/sw/source/uibase/app/docstyle.cxx
@@ -1142,7 +1142,7 @@ bool SwDocStyleSheet::SetName(const OUString& rStr, bool bReindexNow)
if( bChg )
{
- m_pPool->First(m_pPool->GetSearchFamily(), m_pPool->GetSearchMask()); // internal list has to be updated
+ m_pPool->First(nFamily); // internal list has to be updated
m_pPool->Broadcast( SfxStyleSheetHint( SfxHintId::StyleSheetModified, *this ) );
SwEditShell* pSh = rDoc.GetEditShell();
if( pSh )