summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/sdrpaintwindow.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/sdrpaintwindow.hxx b/include/svx/sdrpaintwindow.hxx
index 18a3482018b1..36176e53d7e2 100644
--- a/include/svx/sdrpaintwindow.hxx
+++ b/include/svx/sdrpaintwindow.hxx
@@ -69,7 +69,7 @@ private:
OutputDevice& mrOutputDevice;
/// In case mrOutputDevice is a buffer for a vcl::Window, this is the window.
- vcl::Window* mpWindow;
+ VclPtr<vcl::Window> mpWindow;
// the SdrPaintView this window belongs to
SdrPaintView& mrPaintView;