diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-12-13 09:15:11 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-12-13 13:01:28 +0100 |
commit | 004b403d75356e7184c24c6b51f8fef04171d3a1 (patch) | |
tree | 1faa95358ad9fe95ce741cc4a00ba23a49afb4a8 /sfx2/source/control/templateabstractview.cxx | |
parent | 203d1a6ca94157e84832646b447fa99625da9579 (diff) |
startcenter: Full thumbnail size (256px), upscale if necessary.
Change-Id: I8ae72249853a03b1dfca0ecd10eef47e9aa7cbfe
Diffstat (limited to 'sfx2/source/control/templateabstractview.cxx')
-rw-r--r-- | sfx2/source/control/templateabstractview.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
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)); } |