summaryrefslogtreecommitdiff
path: root/drawinglayer/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-04-03 02:12:42 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-04-03 02:49:17 +0200
commit8ee042bdb5502228fecf9a05da491bbb2cb3efc5 (patch)
tree12657c90a8a65f86e5ddffe35cae0e45ac7ab6f7 /drawinglayer/inc
parent4f989f306898db0b9732301b03e2b4d02159869d (diff)
fdo#62525: use cow_wrapper for SdrLineAttribute
Change-Id: I62b897bd49ef05a3862cb2cd91c3aa13f621e9fd
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r--drawinglayer/inc/drawinglayer/attribute/sdrlineattribute.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrlineattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/sdrlineattribute.hxx
index f487b4d6d59a..bedbd9f29bb9 100644
--- a/drawinglayer/inc/drawinglayer/attribute/sdrlineattribute.hxx
+++ b/drawinglayer/inc/drawinglayer/attribute/sdrlineattribute.hxx
@@ -21,9 +21,9 @@
#define INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRLINEATTRIBUTE_HXX
#include <drawinglayer/drawinglayerdllapi.h>
-
#include <basegfx/vector/b2enums.hxx>
#include <com/sun/star/drawing/LineCap.hpp>
+#include <o3tl/cow_wrapper.hxx>
#include <vector>
//////////////////////////////////////////////////////////////////////////////
@@ -45,8 +45,11 @@ namespace drawinglayer
{
class DRAWINGLAYER_DLLPUBLIC SdrLineAttribute
{
+ public:
+ typedef o3tl::cow_wrapper< ImpSdrLineAttribute > ImplType;
+
private:
- ImpSdrLineAttribute* mpSdrLineAttribute;
+ ImplType mpSdrLineAttribute;
public:
/// constructors/assignmentoperator/destructor