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

Shubham Goyal (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 5 06:22:29 UTC 2019


 cui/source/dialogs/QrCodeGenDialog.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0dab919e19ad758be227dd4279a909e80af03f69
Author:     Shubham Goyal <22shubh22 at gmail.com>
AuthorDate: Sun Aug 4 19:49:25 2019 +0530
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Mon Aug 5 08:21:49 2019 +0200

    Make generated QR Code as a perfect square
    
    Fix drawbacks of commit 2de42b53b7c23223c38e64a75eae248d8a0cd4ec
    
    Change-Id: I94503900250c2d8a10f5930c539bdc2f7da5cfd4
    Reviewed-on: https://gerrit.libreoffice.org/76954
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx
index c174e5a1d83d..ab94debfcf8a 100644
--- a/cui/source/dialogs/QrCodeGenDialog.cxx
+++ b/cui/source/dialogs/QrCodeGenDialog.cxx
@@ -152,8 +152,8 @@ void QrCodeGenDialog::Apply()
         // Default size
         Reference<XShape> xShape(xShapeProps, UNO_QUERY);
         awt::Size aShapeSize;
-        aShapeSize.Height = 3000;
-        aShapeSize.Width = 6000;
+        aShapeSize.Height = 4000;
+        aShapeSize.Width = 4000;
         xShape->setSize(aShapeSize);
 
         // Default anchoring


More information about the Libreoffice-commits mailing list