summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galbrws2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/gallery2/galbrws2.cxx')
-rw-r--r--svx/source/gallery2/galbrws2.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 352faf0b1caa..4533981056ad 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -790,12 +790,11 @@ void GalleryBrowser2::ImplUpdateViews( sal_uInt16 nSelectionId )
mxListView->freeze();
- OUString sCreateOnDemand;
sal_uInt32 nCount = mpCurTheme->GetObjectCount();
for (sal_uInt32 i = 0; i < nCount; ++i)
{
mxIconView->InsertItem(i + 1); // skip reserved id 0
- mxListView->append(OUString::number(i), sCreateOnDemand); // create on-demand in VisRowsScrolledHdl
+ mxListView->append(OUString::number(i), ""); // create on-demand in VisRowsScrolledHdl
if (i == nAlwaysUpToDate) // fill in the first block
UpdateRows(false);