sw/source/uibase/app/docstyle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7821cdcc9a08e23408531fcfaf68c02f0556c969
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue May 5 12:20:14 2020 +0100
Commit:     Caolán McNamara <caol...@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 <caol...@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 )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to