[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sw/source

Gabor Kelemen kelemeng at ubuntu.com
Mon May 22 13:59:02 UTC 2017


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

New commits:
commit 0e86a4a9b8511ffe0437fae1185c2a4c057b9dca
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Wed May 17 20:13:13 2017 +0200

    tdf#107544 Follow the styles -> Styles change in template categories
    
    Commit e75057a4d79d96464ff7ddd1511641b23757a502 caused the
    Style Presets category to become empty in the Design sidebar
    of Writer.
    
    Change-Id: I96353ddd7619b8b845286f0ec5a27aed5fac99fb
    Reviewed-on: https://gerrit.libreoffice.org/37732
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
    Reviewed-on: https://gerrit.libreoffice.org/37869

diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx
index a82a478649e1..5f58fef27cce 100644
--- a/sw/source/uibase/sidebar/StylePresetsPanel.cxx
+++ b/sw/source/uibase/sidebar/StylePresetsPanel.cxx
@@ -171,7 +171,7 @@ void StylePresetsPanel::RefreshList()
     for (sal_uInt16 i = 0; i < nCount; ++i)
     {
         OUString aRegionName(aTemplates.GetFullRegionName(i));
-        if (aRegionName == "styles")
+        if (aRegionName == "Styles")
         {
             for (sal_uInt16 j = 0; j < aTemplates.GetCount(i); ++j)
             {


More information about the Libreoffice-commits mailing list