summaryrefslogtreecommitdiff
path: root/drawinglayer/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-04-02 14:46:32 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-04-02 14:56:43 +0200
commit4e188ae252322485c54b4c3a6c081bde2f966a9f (patch)
treeffe119482514ddfeb1f108c79a5fad27145dffd6 /drawinglayer/inc
parent44e7cb139d921d6c003d4367a8064bc653342541 (diff)
fdo#62525: use cow_wrapper for LineStartEndAttribute
Change-Id: Id8803574245298c6d15b3c59bbfd3b7c812b5794
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r--drawinglayer/inc/drawinglayer/attribute/linestartendattribute.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/linestartendattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/linestartendattribute.hxx
index 563991915cae..e02d3565aaf7 100644
--- a/drawinglayer/inc/drawinglayer/attribute/linestartendattribute.hxx
+++ b/drawinglayer/inc/drawinglayer/attribute/linestartendattribute.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_DRAWINGLAYER_ATTRIBUTE_LINESTARTENDATTRIBUTE_HXX
#include <drawinglayer/drawinglayerdllapi.h>
+#include <o3tl/cow_wrapper.hxx>
//////////////////////////////////////////////////////////////////////////////
// predefines
@@ -41,8 +42,11 @@ namespace drawinglayer
{
class DRAWINGLAYER_DLLPUBLIC LineStartEndAttribute
{
+ public:
+ typedef o3tl::cow_wrapper< ImpLineStartEndAttribute > ImplType;
+
private:
- ImpLineStartEndAttribute* mpLineStartEndAttribute;
+ ImplType mpLineStartEndAttribute;
public:
/// constructors/assignmentoperator/destructor