diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-13 21:23:07 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 11:02:08 +0100 |
commit | d7930771b8441b7e7aa9a0e2809298054443e3ff (patch) | |
tree | 714b59a7469d0b680bf45e71c780cdf3c7fe4315 /cppcanvas | |
parent | vcl: fix lifecycle test to disposeOnce. (diff) | |
download | core-d7930771b8441b7e7aa9a0e2809298054443e3ff.tar.gz core-d7930771b8441b7e7aa9a0e2809298054443e3ff.zip |
boost references are unhealty for VclPtr.
Change-Id: I7ce41ecff1eee4cb45f685a0f4dddb31225ac542
Diffstat (limited to 'cppcanvas')
-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 02a361692f76..684980a78321 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() ) |