diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 02:35:54 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 02:49:17 +0200 |
commit | d3dff92c74bdf0fdb8b638d85fd5a41a64bd96c9 (patch) | |
tree | 7e27df68678b8bb3f2f9996efdb0ec58e4e2baeb /drawinglayer/inc | |
parent | 12012150d2027f78e872dc15b063b12a60d3a7d9 (diff) |
fdo#62525: use cow_wrapper for SdrSceneAttribute
Change-Id: Iaedb5080f341482c3ac4f4e0548be49801c5f0b2
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/attribute/sdrsceneattribute3d.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrsceneattribute3d.hxx b/drawinglayer/inc/drawinglayer/attribute/sdrsceneattribute3d.hxx index 27107e43dc9b..61d4d8a67378 100644 --- a/drawinglayer/inc/drawinglayer/attribute/sdrsceneattribute3d.hxx +++ b/drawinglayer/inc/drawinglayer/attribute/sdrsceneattribute3d.hxx @@ -24,6 +24,7 @@ #include <com/sun/star/drawing/ProjectionMode.hpp> #include <com/sun/star/drawing/ShadeMode.hpp> +#include <o3tl/cow_wrapper.hxx> ////////////////////////////////////////////////////////////////////////////// // predefines @@ -40,8 +41,11 @@ namespace drawinglayer { class DRAWINGLAYER_DLLPUBLIC SdrSceneAttribute { + public: + typedef o3tl::cow_wrapper< ImpSdrSceneAttribute > ImplType; + private: - ImpSdrSceneAttribute* mpSdrSceneAttribute; + ImplType mpSdrSceneAttribute; public: /// constructors/assignmentoperator/destructor |