summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2013-09-02 12:04:15 +0200
committerKrisztian Pinter <pin.terminator@gmail.com>2013-09-02 12:09:01 +0200
commit3ad6bb1b3e373a97250e87a30770139052e7eaf6 (patch)
tree4948bc5b5b212ba8f487d951658ed44ddf648125 /sfx2
parentUpdated core (diff)
downloadcore-3ad6bb1b3e373a97250e87a30770139052e7eaf6.tar.gz
core-3ad6bb1b3e373a97250e87a30770139052e7eaf6.zip
startcenter: Fix overlapping template thumbnails in Start Center
Change-Id: Id6e72a83f32a61889307713db32167e47d447b2a
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/backingwindow.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 1ce82d8aa1aa..40d04d74c6a9 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -328,7 +328,8 @@ void BackingWindow::setupTemplateView( TemplateLocalView* pView, FILTER_APPLICAT
pView->setItemMaxTextLength(nTemplateItemMaxTextLength);
pView->setItemDimensions(nTemplateItemMaxWidth, nTemplateItemThumbnailMaxHeight,
- nTemplateItemMaxHeight-nTemplateItemMaxHeight, nTemplateItemPadding);
+ nTemplateItemMaxHeight-nTemplateItemThumbnailMaxHeight,
+ nTemplateItemPadding);
pView->filterItems(ViewFilter_Application(eFilter));
pView->Populate();
pView->Hide(); // hidden by default