diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 01:54:49 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 02:49:16 +0200 |
commit | f5cf7f36f90f454fd40c5894fbdf5ae070b6b59e (patch) | |
tree | 6a57d98a33159b377f35360a66295a5ad4d4ab87 /drawinglayer/inc | |
parent | f98bee58fbf1e4862477fb6aa014447746f1ef9d (diff) |
fdo#62525: use cow_wrapper for SdrFillBitmapAttribute
Change-Id: Ib8bb849b179be12680c5adae6bf89afc5ad31563
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx index 602455ea075a..78417f3577c9 100644 --- a/drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx +++ b/drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx @@ -21,6 +21,7 @@ #define INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRFILLBITMAPATTRIBUTE_HXX #include <drawinglayer/drawinglayerdllapi.h> +#include <o3tl/cow_wrapper.hxx> ////////////////////////////////////////////////////////////////////////////// // predefines @@ -45,8 +46,11 @@ namespace drawinglayer { class DRAWINGLAYER_DLLPUBLIC SdrFillBitmapAttribute { + public: + typedef o3tl::cow_wrapper< ImpSdrFillBitmapAttribute > ImplType; + private: - ImpSdrFillBitmapAttribute* mpSdrFillBitmapAttribute; + ImplType mpSdrFillBitmapAttribute; public: /// constructors/assignmentoperator/destructor |