sw/source/uibase/sidebar/StylePresetsPanel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a3f9f03f52c2134058dff87eb1528a19450c566c Author: Gabor Kelemen <kelem...@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 <c...@libreoffice.org> Reviewed-by: Katarina Behrens <katarina.behr...@cib.de> 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits