diff options
Diffstat (limited to 'sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx index d5b9d8a92b36..d7f9393d467f 100644 --- a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx +++ b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx @@ -160,11 +160,11 @@ Bitmap PageObjectPainter::CreateMarkedPreview ( const BitmapEx& rOverlay, const OutputDevice* pReferenceDevice) const { - ::boost::scoped_ptr<VirtualDevice> pDevice; + ScopedVclPtr<VirtualDevice> pDevice; if (pReferenceDevice != NULL) - pDevice.reset(new VirtualDevice(*pReferenceDevice)); + pDevice.reset(VclPtr<VirtualDevice>::Create(*pReferenceDevice)); else - pDevice.reset(new VirtualDevice()); + pDevice.reset(VclPtr<VirtualDevice>::Create()); pDevice->SetOutputSizePixel(rSize); pDevice->DrawBitmap(Point(0,0), rSize, rPreview); |