From 17dd2662ccfa9d04efbea74e5d7548db5b2126d4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 7 Jan 2019 13:52:59 +0200 Subject: convert "*xxx.get()" to "*xxx" Change-Id: Ic307226591ff9702957ccdec486ccf70357eb6d9 Reviewed-on: https://gerrit.libreoffice.org/65951 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/graphic/GraphicObject2.cxx | 4 ++-- vcl/source/graphic/Manager.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/source/graphic') diff --git a/vcl/source/graphic/GraphicObject2.cxx b/vcl/source/graphic/GraphicObject2.cxx index ac3be21a5bfa..7148c1098c87 100644 --- a/vcl/source/graphic/GraphicObject2.cxx +++ b/vcl/source/graphic/GraphicObject2.cxx @@ -306,7 +306,7 @@ bool GraphicObject::ImplDrawTiled( OutputDevice* pOut, const tools::Rectangle& r aVDev->SetMapMode( aMapMode ); // draw bitmap content - if( ImplRenderTempTile( *aVDev.get(), nNumTilesInCacheX, + if( ImplRenderTempTile( *aVDev, nNumTilesInCacheX, nNumTilesInCacheY, rSizePixel, pAttr ) ) { BitmapEx aTileBitmap( aVDev->GetBitmap( Point(0,0), aVDev->GetOutputSize() ) ); @@ -321,7 +321,7 @@ bool GraphicObject::ImplDrawTiled( OutputDevice* pOut, const tools::Rectangle& r else aAlphaGraphic.SetGraphic( GetGraphic().GetBitmapEx().GetMask() ); - if( aAlphaGraphic.ImplRenderTempTile( *aVDev.get(), nNumTilesInCacheX, + if( aAlphaGraphic.ImplRenderTempTile( *aVDev, nNumTilesInCacheX, nNumTilesInCacheY, rSizePixel, pAttr ) ) { // Combine bitmap and alpha/mask diff --git a/vcl/source/graphic/Manager.cxx b/vcl/source/graphic/Manager.cxx index 83c2dfb73529..98ef80eebddc 100644 --- a/vcl/source/graphic/Manager.cxx +++ b/vcl/source/graphic/Manager.cxx @@ -146,7 +146,7 @@ void Manager::unregisterGraphic(ImpGraphic* pImpGraphic) std::shared_ptr Manager::copy(std::shared_ptr const& rImpGraphicPtr) { - auto pReturn = std::make_shared(*rImpGraphicPtr.get()); + auto pReturn = std::make_shared(*rImpGraphicPtr); registerGraphic(pReturn, "Copy"); return pReturn; } -- cgit