diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2017-05-17 20:13:13 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-05-22 15:58:40 +0200 |
commit | 0e86a4a9b8511ffe0437fae1185c2a4c057b9dca (patch) | |
tree | 09eb0e681c5ef4323d2c19906636f858a4da5366 | |
parent | 7ec38d7e228b5476cee1aa1f968ce1f961c87649 (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>
Reviewed-on: https://gerrit.libreoffice.org/37869
-rw-r--r-- | sw/source/uibase/sidebar/StylePresetsPanel.cxx | 2 |
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) { |