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

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Tue Mar 26 11:36:42 UTC 2019


 vcl/source/gdi/FileDefinitionWidgetDraw.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e98469ea2271edbf75445c1ff883c365785b7f86
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Tue Mar 26 18:44:34 2019 +0900
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Tue Mar 26 12:36:20 2019 +0100

    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 at gmail.com>
    Tested-by: Tomaž Vajngerl <quikee at gmail.com>

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();
 


More information about the Libreoffice-commits mailing list