diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 01:47:25 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 02:49:16 +0200 |
commit | f98bee58fbf1e4862477fb6aa014447746f1ef9d (patch) | |
tree | c56118a5cc54324b605148b5a1fd97ac2a60fa3f /drawinglayer/inc | |
parent | Forbid old-style services/singletons inheriting new-style services (diff) | |
download | core-f98bee58fbf1e4862477fb6aa014447746f1ef9d.tar.gz core-f98bee58fbf1e4862477fb6aa014447746f1ef9d.zip |
fdo#62525: use cow_wrapper for SdrFillAttribute
Change-Id: I827e1edb2c6ec2fc3e16fde6f105063e59d40f66
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/attribute/sdrfillattribute.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrfillattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/sdrfillattribute.hxx index 038916f7e71b..7fd3d38c224e 100644 --- a/drawinglayer/inc/drawinglayer/attribute/sdrfillattribute.hxx +++ b/drawinglayer/inc/drawinglayer/attribute/sdrfillattribute.hxx @@ -21,6 +21,7 @@ #define INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRFILLATTRIBUTE_HXX #include <drawinglayer/drawinglayerdllapi.h> +#include <o3tl/cow_wrapper.hxx> ////////////////////////////////////////////////////////////////////////////// // predefines @@ -44,8 +45,11 @@ namespace drawinglayer { class DRAWINGLAYER_DLLPUBLIC SdrFillAttribute { + public: + typedef o3tl::cow_wrapper< ImpSdrFillAttribute > ImplType; + private: - ImpSdrFillAttribute* mpSdrFillAttribute; + ImplType mpSdrFillAttribute; public: /// constructors/assignmentoperator/destructor |