Kaydet (Commit) c7b8b348 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

fdo#46942: Fix a regression caused by List removal.

3236c2c3 accidentally removed the gallery
item count which was used to differentiate the gallery symbols from
normal ones.
üst 622a0ee5
...@@ -277,6 +277,7 @@ void SvxLineTabPage::InitSymbols(MenuButton* pButton) ...@@ -277,6 +277,7 @@ void SvxLineTabPage::InitSymbols(MenuButton* pButton)
rtl::OUString aEmptyStr; rtl::OUString aEmptyStr;
const rtl::OUString *pUIName = NULL; const rtl::OUString *pUIName = NULL;
sal_uInt32 i = 0; sal_uInt32 i = 0;
nNumMenuGalleryItems = aGrfNames.size();
for(std::vector<rtl::OUString>::iterator it = aGrfNames.begin(); it != aGrfNames.end(); ++it, ++i) for(std::vector<rtl::OUString>::iterator it = aGrfNames.begin(); it != aGrfNames.end(); ++it, ++i)
{ {
pUIName = &(*it); pUIName = &(*it);
......
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