diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-22 10:22:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-22 10:22:21 +0100 |
commit | 3aaf523d68ea37992d46ed2f52a2ed4d21f7db95 (patch) | |
tree | a43782a9ae9ace9ab1dad3783f40cf23a32de1c4 | |
parent | f05aa32b588c77c79213dbbb77c7c46d98a7559c (diff) |
Dispose Window when done
Change-Id: I6b67d12174c3caa0a4bf230d87421f5768a331f8
-rw-r--r-- | cppcanvas/qa/unit/test.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/qa/unit/test.cxx b/cppcanvas/qa/unit/test.cxx index 5159e317ba7a..183ba398242a 100644 --- a/cppcanvas/qa/unit/test.cxx +++ b/cppcanvas/qa/unit/test.cxx @@ -42,7 +42,7 @@ public: void CanvasTest::testComposite() { #ifdef LINUX - VclPtrInstance<WorkWindow> pWin( nullptr, WB_STDWORK ); + ScopedVclPtrInstance<WorkWindow> pWin( nullptr, WB_STDWORK ); uno::Reference<rendering::XCanvas> xCanvas = pWin->GetCanvas (); if( !xCanvas.is() ) |