[Libreoffice-commits] core.git: Branch 'feature/vclref' - cppcanvas/qa

Michael Meeks michael.meeks at collabora.com
Fri Mar 13 14:18:31 PDT 2015


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

New commits:
commit 7d8ead7f90fc15a70b0d01b9644b2224f53052e1
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Mar 13 21:23:07 2015 +0000

    boost references are unhealty for VclPtr.
    
    Change-Id: I7ce41ecff1eee4cb45f685a0f4dddb31225ac542

diff --git a/cppcanvas/qa/unit/test.cxx b/cppcanvas/qa/unit/test.cxx
index 02a3616..684980a 100644
--- a/cppcanvas/qa/unit/test.cxx
+++ b/cppcanvas/qa/unit/test.cxx
@@ -43,7 +43,7 @@ public:
 void CanvasTest::testComposite()
 {
 #ifdef LINUX
-    boost::scoped_ptr<vcl::Window> pWin(new WorkWindow( (vcl::Window *)NULL ));
+    VclPtr<vcl::Window> pWin(new WorkWindow( (vcl::Window *)NULL ));
 
     uno::Reference<rendering::XCanvas> xCanvas = pWin->GetCanvas ();
     if( !xCanvas.is() )


More information about the Libreoffice-commits mailing list