diff options
Diffstat (limited to 'canvas/source/vcl/canvashelper_texturefill.cxx')
-rw-r--r-- | canvas/source/vcl/canvashelper_texturefill.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/canvashelper_texturefill.cxx b/canvas/source/vcl/canvashelper_texturefill.cxx index 3650c8317513..bd17a8883d21 100644 --- a/canvas/source/vcl/canvashelper_texturefill.cxx +++ b/canvas/source/vcl/canvashelper_texturefill.cxx @@ -756,7 +756,7 @@ namespace vclcanvas const double nAngleInTenthOfDegrees (3600.0 - nRotate * 3600.0 / (2*M_PI)); aGrfAttr.SetRotation( static_cast< sal_uInt16 >(::basegfx::fround(nAngleInTenthOfDegrees)) ); - pGrfObj.reset( new GraphicObject( aBmpEx ) ); + pGrfObj = std::make_shared<GraphicObject>( aBmpEx ); } else { @@ -779,7 +779,7 @@ namespace vclcanvas aBmpEx = tools::transformBitmap( aBmpEx, aTotalTransform); - pGrfObj.reset( new GraphicObject( aBmpEx ) ); + pGrfObj = std::make_shared<GraphicObject>( aBmpEx ); // clear scale values, generated bitmap already // contains scaling |