summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/control/recentdocsview.cxx2
-rw-r--r--sfx2/source/control/templateabstractview.cxx3
2 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index 5ea8d0d1693c..afadb045618e 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -41,7 +41,7 @@ using namespace com::sun::star::beans;
RecentDocsView::RecentDocsView( Window* pParent )
: ThumbnailView(pParent)
, mnFileTypes(TYPE_NONE)
- , mnItemMaxSize(100)
+ , mnItemMaxSize(256)
, mnTextHeight(30)
, mnItemPadding(5)
, mnItemMaxTextLength(30)
diff --git a/sfx2/source/control/templateabstractview.cxx b/sfx2/source/control/templateabstractview.cxx
index f80908438c6c..ddaac09e4b0b 100644
--- a/sfx2/source/control/templateabstractview.cxx
+++ b/sfx2/source/control/templateabstractview.cxx
@@ -261,9 +261,6 @@ BitmapEx TemplateAbstractView::scaleImg (const BitmapEx &rImg, long width, long
// make the picture fit the given width/height constraints
double nRatio = std::min(double(width)/double(aSize.Width()), double(height)/double(aSize.Height()));
- // don't up-scale
- nRatio = std::min(nRatio, 1.0);
-
aImg.Scale(Size(aSize.Width() * nRatio, aSize.Height() * nRatio));
}