summaryrefslogtreecommitdiff
path: root/vcl/source/window/syswin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/syswin.cxx')
-rw-r--r--vcl/source/window/syswin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index ecba89c0aac1..ab8be281c3a4 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -1125,7 +1125,7 @@ VclPtr<VirtualDevice> SystemWindow::createScreenshot()
xOutput->SetOutputSizePixel(aSize);
Point aPos;
- xOutput->DrawOutDev(aPos, aSize, aPos, aSize, *this);
+ xOutput->DrawOutDev(aPos, aSize, aPos, aSize, *GetOutDev());
return xOutput;
}