[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 5 14:06:01 UTC 2020
sw/source/uibase/app/docstyle.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7821cdcc9a08e23408531fcfaf68c02f0556c969
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue May 5 12:20:14 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue May 5 16:05:27 2020 +0200
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 at redhat.com>
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 )
More information about the Libreoffice-commits
mailing list