summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-03-26 18:44:34 +0900
committerTomaž Vajngerl <quikee@gmail.com>2019-03-26 12:36:20 +0100
commite98469ea2271edbf75445c1ff883c365785b7f86 (patch)
treee92e67646f87e9fc7b41a6fcbd92822a92f7d284
parent4126a0bfd6a02ac1ba45434963cbbe94f6df6cdb (diff)
fix mistake by setting default scale factor to 2.0
Change-Id: I293cddf1106cdc718cd7e01fdfb3e352776b3e39 Reviewed-on: https://gerrit.libreoffice.org/69732 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--vcl/source/gdi/FileDefinitionWidgetDraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/FileDefinitionWidgetDraw.cxx b/vcl/source/gdi/FileDefinitionWidgetDraw.cxx
index 0cfe446f53a3..210e50280ca0 100644
--- a/vcl/source/gdi/FileDefinitionWidgetDraw.cxx
+++ b/vcl/source/gdi/FileDefinitionWidgetDraw.cxx
@@ -310,7 +310,7 @@ void munchDrawCommands(std::vector<std::shared_ptr<WidgetDrawAction>> const& rDr
break;
case WidgetDrawActionType::IMAGE:
{
- double nScaleFactor = 2.0;
+ double nScaleFactor = 1.0;
if (comphelper::LibreOfficeKit::isActive())
nScaleFactor = comphelper::LibreOfficeKit::getDPIScale();