diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 02:21:35 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 02:49:17 +0200 |
commit | 92261a33c8ebd2d1c4d35b1b526e98abe746955e (patch) | |
tree | 383e6103a74548b753dcba60ef4b91383889f787 /drawinglayer/inc | |
parent | 8ee042bdb5502228fecf9a05da491bbb2cb3efc5 (diff) |
fdo#62525: use cow_wrapper for StrokeAttribute
Change-Id: Icf5daca279902b90da98069338638c3ad432e69a
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/attribute/strokeattribute.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/strokeattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/strokeattribute.hxx index 3759213f1a2a..6d4cea978482 100644 --- a/drawinglayer/inc/drawinglayer/attribute/strokeattribute.hxx +++ b/drawinglayer/inc/drawinglayer/attribute/strokeattribute.hxx @@ -21,7 +21,7 @@ #define INCLUDED_DRAWINGLAYER_ATTRIBUTE_STROKEATTRIBUTE_HXX #include <drawinglayer/drawinglayerdllapi.h> - +#include <o3tl/cow_wrapper.hxx> #include <vector> ////////////////////////////////////////////////////////////////////////////// @@ -39,8 +39,11 @@ namespace drawinglayer { class DRAWINGLAYER_DLLPUBLIC StrokeAttribute { + public: + typedef o3tl::cow_wrapper< ImpStrokeAttribute > ImplType; + private: - ImpStrokeAttribute* mpStrokeAttribute; + ImplType mpStrokeAttribute; public: /// constructors/assignmentoperator/destructor |