diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-07 13:52:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-08 10:38:35 +0100 |
commit | 17dd2662ccfa9d04efbea74e5d7548db5b2126d4 (patch) | |
tree | 37c0de883c43a57f54b0a483437da9de3bf4c941 /svx | |
parent | 638be04c8334e5e29f9258ff870fbe63603ce7e0 (diff) |
convert "*xxx.get()" to "*xxx"
Change-Id: Ic307226591ff9702957ccdec486ccf70357eb6d9
Reviewed-on: https://gerrit.libreoffice.org/65951
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/accessibility/AccessibleTextHelper.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/framelinkarray.cxx | 8 | ||||
-rw-r--r-- | svx/source/dialog/frmsel.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/svxruler.cxx | 4 | ||||
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 4 | ||||
-rw-r--r-- | svx/source/sdr/attribute/sdrallfillattributeshelper.cxx | 8 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaymanagerbuffered.cxx | 8 | ||||
-rw-r--r-- | svx/source/svdraw/sdrpaintwindow.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svddrgv.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdhdl.cxx | 24 | ||||
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdxcgv.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablehandles.cxx | 6 | ||||
-rw-r--r-- | svx/source/table/tableundo.cxx | 4 | ||||
-rw-r--r-- | svx/source/unodraw/UnoGraphicExporter.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 2 | ||||
-rw-r--r-- | svx/source/xoutdev/xtabdash.cxx | 2 | ||||
-rw-r--r-- | svx/source/xoutdev/xtabgrdt.cxx | 2 | ||||
-rw-r--r-- | svx/source/xoutdev/xtabhtch.cxx | 2 | ||||
-rw-r--r-- | svx/source/xoutdev/xtablend.cxx | 2 |
20 files changed, 46 insertions, 46 deletions
diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx index 8a03b91a935a..66db23d76fa4 100644 --- a/svx/source/accessibility/AccessibleTextHelper.cxx +++ b/svx/source/accessibility/AccessibleTextHelper.cxx @@ -1129,7 +1129,7 @@ namespace accessibility ::std::unique_ptr< SfxHint > pHint( maEventQueue.PopFront() ); if (pHint) { - const SfxHint& rHint = *(pHint.get()); + const SfxHint& rHint = *pHint; // determine hint type const SdrHint* pSdrHint = dynamic_cast<const SdrHint*>( &rHint ); diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx index 3d61a9d1810d..996c7d162692 100644 --- a/svx/source/dialog/framelinkarray.cxx +++ b/svx/source/dialog/framelinkarray.cxx @@ -1094,7 +1094,7 @@ drawinglayer::primitive2d::Primitive2DContainer Array::CreateB2DPrimitiveRange( if(rTop.IsUsed()) { - HelperCreateHorizontalEntry(*this, rTop, nCol, nRow, aOrigin, aX, aY, *aData.get(), true, pForceColor); + HelperCreateHorizontalEntry(*this, rTop, nCol, nRow, aOrigin, aX, aY, *aData, true, pForceColor); } } @@ -1106,7 +1106,7 @@ drawinglayer::primitive2d::Primitive2DContainer Array::CreateB2DPrimitiveRange( if(rBottom.IsUsed()) { - HelperCreateHorizontalEntry(*this, rBottom, nCol, nRow + 1, aOrigin, aX, aY, *aData.get(), false, pForceColor); + HelperCreateHorizontalEntry(*this, rBottom, nCol, nRow + 1, aOrigin, aX, aY, *aData, false, pForceColor); } } @@ -1119,7 +1119,7 @@ drawinglayer::primitive2d::Primitive2DContainer Array::CreateB2DPrimitiveRange( if(rLeft.IsUsed()) { - HelperCreateVerticalEntry(*this, rLeft, nCol, nRow, aOrigin, aX, aY, *aData.get(), true, pForceColor); + HelperCreateVerticalEntry(*this, rLeft, nCol, nRow, aOrigin, aX, aY, *aData, true, pForceColor); } } @@ -1131,7 +1131,7 @@ drawinglayer::primitive2d::Primitive2DContainer Array::CreateB2DPrimitiveRange( if(rRight.IsUsed()) { - HelperCreateVerticalEntry(*this, rRight, nCol + 1, nRow, aOrigin, aX, aY, *aData.get(), false, pForceColor); + HelperCreateVerticalEntry(*this, rRight, nCol + 1, nRow, aOrigin, aX, aY, *aData, false, pForceColor); } } diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx index c33336b07605..7e94afe8816a 100644 --- a/svx/source/dialog/frmsel.cxx +++ b/svx/source/dialog/frmsel.cxx @@ -682,7 +682,7 @@ void FrameSelectorImpl::DrawAllFrameBorders() const drawinglayer::geometry::ViewInformation2D aNewViewInformation2D; std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D( drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( - *mpVirDev.get(), + *mpVirDev, aNewViewInformation2D)); if (pProcessor2D) diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx index 22c4ea7c25ec..96c17edfbd12 100644 --- a/svx/source/dialog/svxruler.cxx +++ b/svx/source/dialog/svxruler.cxx @@ -2036,7 +2036,7 @@ void SvxRuler::ApplyMargins() nId = SID_ATTR_LONG_ULSPACE; #ifdef DEBUGLIN - Debug_Impl(pEditWin,*mxULSpaceItem.get()); + Debug_Impl(pEditWin,*mxULSpaceItem); #endif // DEBUGLIN } @@ -2290,7 +2290,7 @@ void SvxRuler::ApplyBorders() } #ifdef DEBUGLIN - Debug_Impl(pEditWin,*mxColumnItem.get()); + Debug_Impl(pEditWin,*mxColumnItem); #endif // DEBUGLIN SfxBoolItem aFlag(SID_RULER_ACT_LINE_ONLY, diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 10b8de7b4d1b..4e37902b3f3c 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -2791,9 +2791,9 @@ void DbGridControl::executeRowContextMenu( long _nRow, const Point& _rPreferredP VclBuilder aBuilder(nullptr, VclBuilderContainer::getUIRootDir(), "svx/ui/rowsmenu.ui", ""); VclPtr<PopupMenu> aContextMenu(aBuilder.get_menu("menu")); - PreExecuteRowContextMenu( static_cast<sal_uInt16>(_nRow), *aContextMenu.get() ); + PreExecuteRowContextMenu( static_cast<sal_uInt16>(_nRow), *aContextMenu ); aContextMenu->RemoveDisabledEntries( true, true ); - PostExecuteRowContextMenu( static_cast<sal_uInt16>(_nRow), *aContextMenu.get(), aContextMenu->Execute( this, _rPreferredPos ) ); + PostExecuteRowContextMenu( static_cast<sal_uInt16>(_nRow), *aContextMenu, aContextMenu->Execute( this, _rPreferredPos ) ); } void DbGridControl::Command(const CommandEvent& rEvt) diff --git a/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx b/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx index 78e136b652ae..696f94c1df87 100644 --- a/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx +++ b/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx @@ -49,8 +49,8 @@ namespace drawinglayer basegfx::utils::createPolygonFromRect( maLastPaintRange)), maLastDefineRange, - maFillAttribute.get() ? *maFillAttribute.get() : drawinglayer::attribute::SdrFillAttribute(), - maFillGradientAttribute.get() ? *maFillGradientAttribute.get() : drawinglayer::attribute::FillGradientAttribute()); + maFillAttribute.get() ? *maFillAttribute : drawinglayer::attribute::SdrFillAttribute(), + maFillGradientAttribute.get() ? *maFillGradientAttribute : drawinglayer::attribute::FillGradientAttribute()); } } @@ -122,7 +122,7 @@ namespace drawinglayer const_cast< SdrAllFillAttributesHelper* >(this)->maFillAttribute.reset(new drawinglayer::attribute::SdrFillAttribute()); } - return *maFillAttribute.get(); + return *maFillAttribute; } const drawinglayer::attribute::FillGradientAttribute& SdrAllFillAttributesHelper::getFillGradientAttribute() const @@ -132,7 +132,7 @@ namespace drawinglayer const_cast< SdrAllFillAttributesHelper* >(this)->maFillGradientAttribute.reset(new drawinglayer::attribute::FillGradientAttribute()); } - return *maFillGradientAttribute.get(); + return *maFillGradientAttribute; } const drawinglayer::primitive2d::Primitive2DContainer& SdrAllFillAttributesHelper::getPrimitive2DSequence( diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx index 6a88e7633944..f551bb559385 100644 --- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx +++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx @@ -142,7 +142,7 @@ namespace sdr getOutputDevice().DrawOutDev( aTopLeft, aSize, // destination aTopLeft, aSize, // source - *mpBufferDevice.get()); + *mpBufferDevice); } // restore MapModes @@ -294,7 +294,7 @@ namespace sdr mpOutputBufferDevice->DrawOutDev( aTopLeft, aSize, // destination aTopLeft, aSize, // source - *mpBufferDevice.get()); + *mpBufferDevice); // restore MapModes mpBufferDevice->EnableMapMode(bMapModeWasEnabledDest); @@ -303,7 +303,7 @@ namespace sdr // paint overlay content for remembered region, use // method from base class directly mpOutputBufferDevice->EnableMapMode(); - OverlayManager::ImpDrawMembers(aBufferRememberedRangeLogic, *mpOutputBufferDevice.get()); + OverlayManager::ImpDrawMembers(aBufferRememberedRangeLogic, *mpOutputBufferDevice); mpOutputBufferDevice->EnableMapMode(false); // copy to output @@ -314,7 +314,7 @@ namespace sdr getOutputDevice().DrawOutDev( aTopLeft, aSize, // destination aTopLeft, aSize, // source - *mpOutputBufferDevice.get()); + *mpOutputBufferDevice); // debug /*getOutputDevice().SetLineCOL_RED); diff --git a/svx/source/svdraw/sdrpaintwindow.cxx b/svx/source/svdraw/sdrpaintwindow.cxx index e6ee0bf0f289..80116583feb8 100644 --- a/svx/source/svdraw/sdrpaintwindow.cxx +++ b/svx/source/svdraw/sdrpaintwindow.cxx @@ -161,7 +161,7 @@ void SdrPreRenderDevice::OutputPreRenderDevice(const vcl::Region& rExpandedRegio mpOutputDevice->DrawOutDev( aTopLeft, aSize, aTopLeft, aSize, - *mpPreRenderDevice.get()); + *mpPreRenderDevice); #ifdef DBG_UTIL // #i74769# diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx index 31132a5bbdef..96f92d652cba 100644 --- a/svx/source/svdraw/svddrgv.cxx +++ b/svx/source/svdraw/svddrgv.cxx @@ -829,7 +829,7 @@ void SdrDragView::ShowDragObj() if(xOverlayManager.is()) { mpCurrentSdrDragMethod->CreateOverlayGeometry( - *xOverlayManager.get(), + *xOverlayManager, rPageWindow.GetObjectContact()); // #i101679# Force changed overlay to be shown diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index 4e0854ceac8d..edf120b58ab1 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -619,7 +619,7 @@ void SdrHdl::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -1159,7 +1159,7 @@ void SdrHdlColor::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -1322,7 +1322,7 @@ void SdrHdlGradient::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); // arrowhead Point aLeft(aMidPoint.X() + static_cast<sal_Int32>(aPerpend.getX() * fHalfArrowWidth), @@ -1346,7 +1346,7 @@ void SdrHdlGradient::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -1476,7 +1476,7 @@ void SdrHdlLine::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -1539,7 +1539,7 @@ void SdrHdlBezWgt::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -1587,7 +1587,7 @@ void E3dVolumeMarker::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -1651,7 +1651,7 @@ void ImpEdgeHdl::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -1766,7 +1766,7 @@ void ImpMeasureHdl::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -1839,7 +1839,7 @@ void ImpTextframeHdl::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNewOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -2450,7 +2450,7 @@ void SdrCropHdl::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -2666,7 +2666,7 @@ void SdrCropViewHdl::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pNew), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 1bf7cbfbbfa2..5a77bb8eab31 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -855,7 +855,7 @@ GDIMetaFile SdrGrafObj::getMetafileFromEmbeddedVectorGraphicData() const pOut->EnableOutput(false); pOut->SetMapMode(aMap); aRetval.Record(pOut); - SingleObjectPainter(*pOut.get()); + SingleObjectPainter(*pOut); aRetval.Stop(); aRetval.WindStart(); aRetval.Move(-aBoundRect.Left(), -aBoundRect.Top()); diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx index 0fb1e31b8d95..4b6f00928075 100644 --- a/svx/source/svdraw/svdxcgv.cxx +++ b/svx/source/svdraw/svdxcgv.cxx @@ -545,7 +545,7 @@ GDIMetaFile SdrExchangeView::GetMarkedObjMetaFile(bool bNoVDevIfOneMtfMarked) co aMtf.Clear(); aMtf.Record(pOut); - DrawMarkedObj(*pOut.get()); + DrawMarkedObj(*pOut); aMtf.Stop(); aMtf.WindStart(); @@ -632,7 +632,7 @@ Graphic SdrExchangeView::GetObjGraphic(const SdrObject& rSdrObject) pOut->EnableOutput(false); pOut->SetMapMode(aMap); aMtf.Record(pOut); - rSdrObject.SingleObjectPainter(*pOut.get()); + rSdrObject.SingleObjectPainter(*pOut); aMtf.Stop(); aMtf.WindStart(); diff --git a/svx/source/table/tablehandles.cxx b/svx/source/table/tablehandles.cxx index 650180b23d3f..fb1bd0d930b3 100644 --- a/svx/source/table/tablehandles.cxx +++ b/svx/source/table/tablehandles.cxx @@ -177,7 +177,7 @@ void TableEdgeHdl::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } if(aInvisible.count()) @@ -191,7 +191,7 @@ void TableEdgeHdl::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } @@ -302,7 +302,7 @@ void TableBorderHdl::CreateB2dIAObject() insertNewlyCreatedOverlayObjectForSdrHdl( std::move(pOverlayObject), rPageWindow.GetObjectContact(), - *xManager.get()); + *xManager); } } } diff --git a/svx/source/table/tableundo.cxx b/svx/source/table/tableundo.cxx index c7f53e7c0306..663c56a42c9c 100644 --- a/svx/source/table/tableundo.cxx +++ b/svx/source/table/tableundo.cxx @@ -103,7 +103,7 @@ bool CellUndo::Merge( SfxUndoAction *pNextAction ) void CellUndo::setDataToCell( const Data& rData ) { if( rData.mpProperties ) - mxCell->mpProperties.reset(Cell::CloneProperties( rData.mpProperties, *mxObjRef.get(), *mxCell.get() )); + mxCell->mpProperties.reset(Cell::CloneProperties( rData.mpProperties, *mxObjRef.get(), *mxCell )); else mxCell->mpProperties.reset(); @@ -133,7 +133,7 @@ void CellUndo::getDataFromCell( Data& rData ) if( mxObjRef.is() && mxCell.is() ) { if( mxCell->mpProperties ) - rData.mpProperties = mxCell->CloneProperties( *mxObjRef.get(), *mxCell.get()); + rData.mpProperties = mxCell->CloneProperties( *mxObjRef.get(), *mxCell); if( mxCell->GetOutlinerParaObject() ) rData.mpOutlinerParaObject = new OutlinerParaObject(*mxCell->GetOutlinerParaObject()); diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx index eba66ba8af83..56e3f75fd7c0 100644 --- a/svx/source/unodraw/UnoGraphicExporter.cxx +++ b/svx/source/unodraw/UnoGraphicExporter.cxx @@ -945,7 +945,7 @@ bool GraphicExporter::GetGraphic( ExportSettings const & rSettings, Graphic& aGr { // more effective way to paint a vector of SdrObjects. Hand over the processed page // to have it in the - sdr::contact::ObjectContactOfObjListPainter aMultiObjectPainter(*aOut.get(), aShapes, mpCurrentPage); + sdr::contact::ObjectContactOfObjListPainter aMultiObjectPainter(*aOut, aShapes, mpCurrentPage); ImplExportCheckVisisbilityRedirector aCheckVisibilityRedirector(mpCurrentPage); aMultiObjectPainter.SetViewObjectContactRedirector(&aCheckVisibilityRedirector); diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 27c6ab6d0f86..33a9b8ca0723 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -720,7 +720,7 @@ uno::Any SvxShape::GetBitmap( bool bMetaFile /* = false */ ) const pVDev->SetMapMode(MapMode(MapUnit::Map100thMM)); pVDev->EnableOutput(false); aMtf.Record(pVDev); - GetSdrObject()->SingleObjectPainter(*pVDev.get()); + GetSdrObject()->SingleObjectPainter(*pVDev); aMtf.Stop(); aMtf.WindStart(); aMtf.Move(-aBoundRect.Left(), -aBoundRect.Top()); diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx index 9efd16a141fd..b4161521693d 100644 --- a/svx/source/xoutdev/xtabdash.cxx +++ b/svx/source/xoutdev/xtabdash.cxx @@ -156,7 +156,7 @@ BitmapEx XDashList::ImpCreateBitmapForXDash(const XDash* pDash) // create processor and draw primitives std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( - *pVirtualDevice.get(), + *pVirtualDevice, aNewViewInformation2D)); if(pProcessor2D) diff --git a/svx/source/xoutdev/xtabgrdt.cxx b/svx/source/xoutdev/xtabgrdt.cxx index a640d9a61055..c882f3ff959e 100644 --- a/svx/source/xoutdev/xtabgrdt.cxx +++ b/svx/source/xoutdev/xtabgrdt.cxx @@ -185,7 +185,7 @@ BitmapEx XGradientList::CreateBitmap( long nIndex, const Size& rSize ) const // create processor and draw primitives std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( - *pVirtualDevice.get(), + *pVirtualDevice, aNewViewInformation2D)); if(pProcessor2D) diff --git a/svx/source/xoutdev/xtabhtch.cxx b/svx/source/xoutdev/xtabhtch.cxx index fe4e48362a84..d7e7944bf60c 100644 --- a/svx/source/xoutdev/xtabhtch.cxx +++ b/svx/source/xoutdev/xtabhtch.cxx @@ -161,7 +161,7 @@ BitmapEx XHatchList::CreateBitmap( long nIndex, const Size& rSize) const // create processor and draw primitives std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( - *pVirtualDevice.get(), + *pVirtualDevice, aNewViewInformation2D)); if(pProcessor2D) diff --git a/svx/source/xoutdev/xtablend.cxx b/svx/source/xoutdev/xtablend.cxx index bc254322ce06..f10883f4b784 100644 --- a/svx/source/xoutdev/xtablend.cxx +++ b/svx/source/xoutdev/xtablend.cxx @@ -145,7 +145,7 @@ BitmapEx XLineEndList::CreateBitmapForUI( long nIndex ) // create processor and draw primitives std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( - *pVirtualDevice.get(), + *pVirtualDevice, aNewViewInformation2D)); if(pProcessor2D) |