Kaydet (Commit) d7930771 authored tarafından Michael Meeks's avatar Michael Meeks

boost references are unhealty for VclPtr.

Change-Id: I7ce41ecff1eee4cb45f685a0f4dddb31225ac542
üst 06f826c8
...@@ -43,7 +43,7 @@ public: ...@@ -43,7 +43,7 @@ public:
void CanvasTest::testComposite() void CanvasTest::testComposite()
{ {
#ifdef LINUX #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 (); uno::Reference<rendering::XCanvas> xCanvas = pWin->GetCanvas ();
if( !xCanvas.is() ) if( !xCanvas.is() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment