summaryrefslogtreecommitdiff
path: root/drawinglayer/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-23 05:40:32 +0100
committerThorsten Behrens <tbehrens@suse.com>2013-03-23 20:06:16 +0000
commit62fca307fc0fc775234572c79a1237494c2d72a7 (patch)
tree04ec86229d94c08b18a72b84001581f0ef159f6a /drawinglayer/inc
parentfb8dd00d597495e8622a54dfd724ccc99d1fe999 (diff)
fdo#62525: use cow_wrapper for SdrShadowAttribute
Thanks to Thorsten. Change-Id: I9b5435d2326e9ebf340e88025eeea25ff6388ea2 Reviewed-on: https://gerrit.libreoffice.org/2946 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r--drawinglayer/inc/drawinglayer/attribute/sdrshadowattribute.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrshadowattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/sdrshadowattribute.hxx
index 91657cde8829..ee1f36292505 100644
--- a/drawinglayer/inc/drawinglayer/attribute/sdrshadowattribute.hxx
+++ b/drawinglayer/inc/drawinglayer/attribute/sdrshadowattribute.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRSHADOWATTRIBUTE_HXX
#include <drawinglayer/drawinglayerdllapi.h>
+#include <o3tl/cow_wrapper.hxx>
//////////////////////////////////////////////////////////////////////////////
// predefines
@@ -42,8 +43,11 @@ namespace drawinglayer
{
class DRAWINGLAYER_DLLPUBLIC SdrShadowAttribute
{
+ public:
+ typedef o3tl::cow_wrapper< ImpSdrShadowAttribute > ImplType;
+
private:
- ImpSdrShadowAttribute* mpSdrShadowAttribute;
+ ImplType mpSdrShadowAttribute;
public:
/// constructors/assignmentoperator/destructor