diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-21 14:49:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-05-22 14:26:38 +0200 |
commit | 49fc4913ba7fc4a0be2e32407205edd8f31b3172 (patch) | |
tree | ffb3a0e3bbbd13995d31eb9ffb38491df3880eb7 /toolkit | |
parent | f73980ed151e3d04b02cc463cf9fd6432f14ba03 (diff) |
PaintToDevice doesn't use its Size argument
Change-Id: I45ce895ac67be9aaf137e0e4c79954488f23a6a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94637
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 8c7b306b084e..dbeeb20f0cdd 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -2280,7 +2280,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) bool bOldNW =pWindow->IsNativeWidgetEnabled(); if( bOldNW ) pWindow->EnableNativeWidget(false); - pWindow->PaintToDevice( pDev, aP, aSz ); + pWindow->PaintToDevice( pDev, aP ); if( bOldNW ) pWindow->EnableNativeWidget(); } |