[Libreoffice-commits] core.git: sfx2/source

Krisztian Pinter pin.terminator at gmail.com
Mon Sep 2 03:09:30 PDT 2013


 sfx2/source/dialog/backingwindow.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 3ad6bb1b3e373a97250e87a30770139052e7eaf6
Author: Krisztian Pinter <pin.terminator at gmail.com>
Date:   Mon Sep 2 12:04:15 2013 +0200

    startcenter: Fix overlapping template thumbnails in Start Center
    
    Change-Id: Id6e72a83f32a61889307713db32167e47d447b2a

diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 1ce82d8..40d04d7 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


More information about the Libreoffice-commits mailing list