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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 3 18:12:44 UTC 2019


 vcl/unx/gtk3/gtk3gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2483c98fe7a843ea5b7d258ac76f48433a3758ca
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Oct 3 16:49:05 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Oct 3 20:10:28 2019 +0200

    use "normal" VirtualDevice ctor, not the obscure SystemGraphicsData variant
    
    Change-Id: Id40f4763c2d72c84471f77bf88b1a342186cfbd4
    Reviewed-on: https://gerrit.libreoffice.org/80150
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 3720870fac30..544145d906dc 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -9879,7 +9879,7 @@ public:
         , m_pDrawingArea(pDrawingArea)
         , m_xAccessible(rA11y)
         , m_pAccessible(nullptr)
-        , m_xDevice(nullptr, Size(1, 1), DeviceFormat::DEFAULT)
+        , m_xDevice(DeviceFormat::DEFAULT)
         , m_pSurface(nullptr)
         , m_nDrawSignalId(g_signal_connect(m_pDrawingArea, "draw", G_CALLBACK(signalDraw), this))
         , m_nStyleUpdatedSignalId(g_signal_connect(m_pDrawingArea,"style-updated", G_CALLBACK(signalStyleUpdated), this))


More information about the Libreoffice-commits mailing list