Kaydet (Commit) a3f9f03f authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Katarina Behrens

tdf#107544 Follow the styles -> Styles change in template categories

Commit e75057a4 caused the
Style Presets category to become empty in the Design sidebar
of Writer.

Change-Id: I96353ddd7619b8b845286f0ec5a27aed5fac99fb
Reviewed-on: https://gerrit.libreoffice.org/37732Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
üst 9b261681
...@@ -171,7 +171,7 @@ void StylePresetsPanel::RefreshList() ...@@ -171,7 +171,7 @@ void StylePresetsPanel::RefreshList()
for (sal_uInt16 i = 0; i < nCount; ++i) for (sal_uInt16 i = 0; i < nCount; ++i)
{ {
OUString aRegionName(aTemplates.GetFullRegionName(i)); OUString aRegionName(aTemplates.GetFullRegionName(i));
if (aRegionName == "styles") if (aRegionName == "Styles")
{ {
for (sal_uInt16 j = 0; j < aTemplates.GetCount(i); ++j) for (sal_uInt16 j = 0; j < aTemplates.GetCount(i); ++j)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment