From c7b8b3482c50eb5de8d43acf036642dc684fe8d9 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 26 Mar 2012 16:17:36 -0400 Subject: 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. --- cui/source/tabpages/tpline.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'cui') 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::iterator it = aGrfNames.begin(); it != aGrfNames.end(); ++it, ++i) { pUIName = &(*it); -- cgit