From 054166821842de6f25c3123fcc1976b3c9d1d69b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 22 Aug 2021 16:44:21 +0200 Subject: no need to use unique_ptr for Sdr3DObjectAttribute it is already a COW type Change-Id: Icc4173c5a61f5d819ce908f8a38c3efb29ebb1c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120850 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/inc/sdr/primitive3d/sdrattributecreator3d.hxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'svx/inc/sdr') diff --git a/svx/inc/sdr/primitive3d/sdrattributecreator3d.hxx b/svx/inc/sdr/primitive3d/sdrattributecreator3d.hxx index 327f7da1cbcb..3f517842741e 100644 --- a/svx/inc/sdr/primitive3d/sdrattributecreator3d.hxx +++ b/svx/inc/sdr/primitive3d/sdrattributecreator3d.hxx @@ -20,23 +20,19 @@ #ifndef INCLUDED_SVX_INC_SDR_PRIMITIVE3D_SDRATTRIBUTECREATOR3D_HXX #define INCLUDED_SVX_INC_SDR_PRIMITIVE3D_SDRATTRIBUTECREATOR3D_HXX +#include // predefines class SfxItemSet; - -namespace drawinglayer::attribute { - class Sdr3DObjectAttribute; -} - namespace basegfx { class B2DRange; } namespace drawinglayer::primitive2d - { +{ // SdrAttribute creators - attribute::Sdr3DObjectAttribute* createNewSdr3DObjectAttribute(const SfxItemSet& rSet); + attribute::Sdr3DObjectAttribute createNewSdr3DObjectAttribute(const SfxItemSet& rSet); // helpers -- cgit v1.2.3