summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-05-17 20:13:13 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-05-19 19:16:26 +0200
commita3f9f03f52c2134058dff87eb1528a19450c566c (patch)
treec0c32409454bb0b227e862fcfc90cee52324c6b2 /sw
parent9b261681e5325e3fb7c87653de8e367ec18486c9 (diff)
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@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/sidebar/StylePresetsPanel.cxx2
1 files changed, 1 insertions, 1 deletions
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)
{