diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-23 06:28:11 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-03-23 21:56:02 +0100 |
commit | 75ad992d1801334a2bb39e1b0bdf3ca5f3714625 (patch) | |
tree | 489f62a6f58d4e40152c15dae383a1188f95ee22 /drawinglayer/inc | |
parent | e8b924e440a8f82076389d2774d1c414c87924dc (diff) |
fdo#62525: use cow_wrapper for FillGradientAttribute
Change-Id: I85a9864820f49da8ebcc4a7d2c80a3c9d0c13b27
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/attribute/fillgradientattribute.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/fillgradientattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/fillgradientattribute.hxx index 6d01c86b84f5..e791193651a0 100644 --- a/drawinglayer/inc/drawinglayer/attribute/fillgradientattribute.hxx +++ b/drawinglayer/inc/drawinglayer/attribute/fillgradientattribute.hxx @@ -21,6 +21,7 @@ #define INCLUDED_DRAWINGLAYER_ATTRIBUTE_FILLGRADIENTATTRIBUTE_HXX #include <drawinglayer/drawinglayerdllapi.h> +#include <o3tl/cow_wrapper.hxx> ////////////////////////////////////////////////////////////////////////////// // predefines @@ -58,8 +59,11 @@ namespace drawinglayer { class DRAWINGLAYER_DLLPUBLIC FillGradientAttribute { + public: + typedef o3tl::cow_wrapper< ImpFillGradientAttribute > ImplType; + private: - ImpFillGradientAttribute* mpFillGradientAttribute; + ImplType mpFillGradientAttribute; public: /// constructors/assignmentoperator/destructor |