diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 02:05:40 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 02:49:16 +0200 |
commit | 4f989f306898db0b9732301b03e2b4d02159869d (patch) | |
tree | 4161243a796f77e9f32f1099aed405e404b2ffb3 /drawinglayer/inc | |
parent | f61b5c3654fc011ab0c6e042f6df010e39536d85 (diff) |
fdo#62525: use cow_wrapper for SdrLightingAttribute
Change-Id: Ibd6bd31ef78f2e853ff668f64202eff89afb1234
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/attribute/sdrlightingattribute3d.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrlightingattribute3d.hxx b/drawinglayer/inc/drawinglayer/attribute/sdrlightingattribute3d.hxx index 08b333c319b7..0c3bb96b9f70 100644 --- a/drawinglayer/inc/drawinglayer/attribute/sdrlightingattribute3d.hxx +++ b/drawinglayer/inc/drawinglayer/attribute/sdrlightingattribute3d.hxx @@ -21,6 +21,7 @@ #define INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRLIGHTINGATTRIBUTE3D_HXX #include <drawinglayer/drawinglayerdllapi.h> +#include <o3tl/cow_wrapper.hxx> #include <vector> @@ -45,8 +46,11 @@ namespace drawinglayer { class DRAWINGLAYER_DLLPUBLIC SdrLightingAttribute { + public: + typedef o3tl::cow_wrapper< ImpSdrLightingAttribute > ImplType; + private: - ImpSdrLightingAttribute* mpSdrLightingAttribute; + ImplType mpSdrLightingAttribute; public: /// constructors/assignmentoperator/destructor |