summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-26 16:26:32 -0400
committerMichael Meeks <michael.meeks@suse.com>2012-03-27 12:24:53 +0100
commit12d4ad922bce712d72c52e5ef9cd5e7b5e74fe73 (patch)
tree3067f2e2c979dfdb5e5975b9bb176e7e04212ee8
parenta574a38a73b252498ac061dcf08d96a84b48b6af (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. Signed-off-by: Stephan Bergmann <sbergman@redhat.com> Signed-off-by: Noel Power <nopower@suse.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
-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 3a27eaace18b..abb5df396e6a 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -1464,6 +1464,7 @@ IMPL_LINK( SvxLineTabPage, MenuCreateHdl_Impl, MenuButton *, pButton )
String aEmptyStr;
const String *pUIName = NULL;
sal_uInt32 i = 0;
+ nNumMenuGalleryItems = aGrfNames.size();
for(std::vector<String>::iterator it = aGrfNames.begin(); it != aGrfNames.end(); ++it, ++i)
{
pUIName = &(*it);