summaryrefslogtreecommitdiff
path: root/drawinglayer/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-04-03 02:43:01 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-04-03 02:49:17 +0200
commit7470c93a7b70eec967a52ddbf8a3c9430d3b6f2f (patch)
treeb7e728fb6b1b78cecbb96c27b95f9bc3439c8208 /drawinglayer/inc
parentd3dff92c74bdf0fdb8b638d85fd5a41a64bd96c9 (diff)
fdo#62525: use cow_wrapper for Sdr3DObjectAttribute
Change-Id: I80e378f6a88068f5d3b36c6187b41ab8d968a0c3
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r--drawinglayer/inc/drawinglayer/attribute/sdrobjectattribute3d.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrobjectattribute3d.hxx b/drawinglayer/inc/drawinglayer/attribute/sdrobjectattribute3d.hxx
index 809efa5a22f0..860093a67666 100644
--- a/drawinglayer/inc/drawinglayer/attribute/sdrobjectattribute3d.hxx
+++ b/drawinglayer/inc/drawinglayer/attribute/sdrobjectattribute3d.hxx
@@ -26,6 +26,7 @@
#include <com/sun/star/drawing/TextureProjectionMode.hpp>
#include <com/sun/star/drawing/TextureKind2.hpp>
#include <com/sun/star/drawing/TextureMode.hpp>
+#include <o3tl/cow_wrapper.hxx>
//////////////////////////////////////////////////////////////////////////////
// predefines
@@ -43,8 +44,11 @@ namespace drawinglayer
{
class DRAWINGLAYER_DLLPUBLIC Sdr3DObjectAttribute
{
+ public:
+ typedef o3tl::cow_wrapper< ImpSdr3DObjectAttribute > ImplType;
+
private:
- ImpSdr3DObjectAttribute* mpSdr3DObjectAttribute;
+ ImplType mpSdr3DObjectAttribute;
public:
// constructors/destructor