summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-26 16:17:36 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-26 16:21:41 -0400
commitc7b8b3482c50eb5de8d43acf036642dc684fe8d9 (patch)
tree24db7b561063fb72b288c2f694edb84a969bd76c /cui
parent622a0ee58130a6c0e712f70eb5d6daed810a64f0 (diff)
fdo#46942: Fix a regression caused by List removal.
3236c2c3af9355157c62f68fcbd429498f7f747b accidentally removed the gallery item count which was used to differentiate the gallery symbols from normal ones.
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tpline.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index 1436c0a3ce6e..ede160be6b67 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -277,6 +277,7 @@ void SvxLineTabPage::InitSymbols(MenuButton* pButton)
rtl::OUString aEmptyStr;
const rtl::OUString *pUIName = NULL;
sal_uInt32 i = 0;
+ nNumMenuGalleryItems = aGrfNames.size();
for(std::vector<rtl::OUString>::iterator it = aGrfNames.begin(); it != aGrfNames.end(); ++it, ++i)
{
pUIName = &(*it);