diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 08:30:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 09:04:45 +0100 |
commit | 6b4fe3e44b4daa89fef6a3385919b00472eaed60 (patch) | |
tree | db2d11ae4e08d0782e1eb240513abfbe8ff33113 /drawinglayer/source/primitive3d | |
parent | e975ab34daf72a2b708a46095994d0df3c23dec0 (diff) |
loplugin:makeshared in drawinglayer..fpicker
Change-Id: Ib20fec3a7b6bfe2f94c6f5f2f9fa0be6f7c21e97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87320
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/primitive3d')
-rw-r--r-- | drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx b/drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx index d86b51f3b0d6..5d2a2b6d2e1d 100644 --- a/drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx +++ b/drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx @@ -239,8 +239,8 @@ namespace drawinglayer::primitive3d if(css::drawing::TextureKind2_LUMINANCE == aSdr3DObjectAttribute.getTextureKind()) { // use modified color primitive to force textures to gray - const basegfx::BColorModifierSharedPtr aBColorModifier( - new basegfx::BColorModifier_gray()); + const basegfx::BColorModifierSharedPtr aBColorModifier = + std::make_shared<basegfx::BColorModifier_gray>(); const Primitive3DReference xRef2( new ModifiedColorPrimitive3D( aRetval, |