[Libreoffice-commits] core.git: cppcanvas/qa

Stephan Bergmann sbergman at redhat.com
Thu Dec 22 09:22:46 UTC 2016


 cppcanvas/qa/unit/test.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3aaf523d68ea37992d46ed2f52a2ed4d21f7db95
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Dec 22 10:22:21 2016 +0100

    Dispose Window when done
    
    Change-Id: I6b67d12174c3caa0a4bf230d87421f5768a331f8

diff --git a/cppcanvas/qa/unit/test.cxx b/cppcanvas/qa/unit/test.cxx
index 5159e31..183ba39 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() )


More information about the Libreoffice-commits mailing list