summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-21 14:49:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-05-22 14:26:38 +0200
commit49fc4913ba7fc4a0be2e32407205edd8f31b3172 (patch)
treeffb3a0e3bbbd13995d31eb9ffb38491df3880eb7 /vcl
parentf73980ed151e3d04b02cc463cf9fd6432f14ba03 (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 'vcl')
-rw-r--r--vcl/source/window/paint.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 7a9e24a71e6f..7bd98672b5cb 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1597,7 +1597,7 @@ void Window::ImplPaintToDevice( OutputDevice* i_pTargetOutDev, const Point& i_rP
mnDPIY = nOldDPIY;
}
-void Window::PaintToDevice( OutputDevice* pDev, const Point& rPos, const Size& /*rSize*/ )
+void Window::PaintToDevice(OutputDevice* pDev, const Point& rPos)
{
SAL_WARN_IF( pDev->HasMirroredGraphics(), "vcl.window", "PaintToDevice to mirroring graphics" );
SAL_WARN_IF( pDev->IsRTLEnabled(), "vcl.window", "PaintToDevice to mirroring device" );