diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-27 03:41:13 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-03-27 12:12:31 +0000 |
commit | 63da9d632827e7d08450dfd72bdcdfbed9c73cae (patch) | |
tree | 9cb85e1a2aefb4bb0fa59ace570d50ae6e4aebfb /drawinglayer/inc | |
parent | 6db890bfbb4cc86d0963599b70033b4eb32ff154 (diff) |
fdo#62525: use cow_wrapper for FillHatchAttribute
Change-Id: I1581b4bca6f14bd27af12ff40a4f4c0fe08af133
Reviewed-on: https://gerrit.libreoffice.org/3073
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/attribute/fillhatchattribute.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/fillhatchattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/fillhatchattribute.hxx index dc2665b33a59..7e6244be090b 100644 --- a/drawinglayer/inc/drawinglayer/attribute/fillhatchattribute.hxx +++ b/drawinglayer/inc/drawinglayer/attribute/fillhatchattribute.hxx @@ -21,6 +21,7 @@ #define INCLUDED_DRAWINGLAYER_ATTRIBUTE_FILLHATCHATTRIBUTE_HXX #include <drawinglayer/drawinglayerdllapi.h> +#include <o3tl/cow_wrapper.hxx> ////////////////////////////////////////////////////////////////////////////// // predefines @@ -55,8 +56,11 @@ namespace drawinglayer { class DRAWINGLAYER_DLLPUBLIC FillHatchAttribute { + public: + typedef o3tl::cow_wrapper< ImpFillHatchAttribute > ImplType; + private: - ImpFillHatchAttribute* mpFillHatchAttribute; + ImplType mpFillHatchAttribute; public: /// constructors/assignmentoperator/destructor |