diff options
Diffstat (limited to 'cppcanvas/qa')
-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 684980a78321..fa7b21e2ceaa 100644 --- a/cppcanvas/qa/unit/test.cxx +++ b/cppcanvas/qa/unit/test.cxx @@ -43,7 +43,7 @@ public: void CanvasTest::testComposite() { #ifdef LINUX - VclPtr<vcl::Window> pWin(new WorkWindow( (vcl::Window *)NULL )); + VclPtrInstance<WorkWindow> pWin( nullptr ); uno::Reference<rendering::XCanvas> xCanvas = pWin->GetCanvas (); if( !xCanvas.is() ) |