diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-04-02 14:39:54 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-02 14:56:43 +0200 |
commit | 44e7cb139d921d6c003d4367a8064bc653342541 (patch) | |
tree | bda31f26eb167dbc1ede0412f4b251bd458d7767 /drawinglayer/inc | |
parent | 67e5e3763f31fdc906c8e9b3239b636bce3139ed (diff) |
fdo#62525: use cow_wrapper for LineAttribute
Change-Id: I8934156790051d52dd317b6654b1cc2e1bc381a4
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/attribute/lineattribute.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/lineattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/lineattribute.hxx index 4984a1268d23..58eb987714e3 100644 --- a/drawinglayer/inc/drawinglayer/attribute/lineattribute.hxx +++ b/drawinglayer/inc/drawinglayer/attribute/lineattribute.hxx @@ -24,6 +24,7 @@ #include <basegfx/vector/b2enums.hxx> #include <com/sun/star/drawing/LineCap.hpp> +#include <o3tl/cow_wrapper.hxx> ////////////////////////////////////////////////////////////////////////////// // predefines @@ -44,8 +45,11 @@ namespace drawinglayer { class DRAWINGLAYER_DLLPUBLIC LineAttribute { + public: + typedef o3tl::cow_wrapper< ImpLineAttribute > ImplType; + private: - ImpLineAttribute* mpLineAttribute; + ImplType mpLineAttribute; public: /// constructors/assignmentoperator/destructor |