From a3f9f03f52c2134058dff87eb1528a19450c566c Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 17 May 2017 20:13:13 +0200 Subject: 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 Reviewed-by: Katarina Behrens --- sw/source/uibase/sidebar/StylePresetsPanel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') 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) { -- cgit