summaryrefslogtreecommitdiff
path: root/drawinglayer/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-23 06:15:47 +0100
committerThorsten Behrens <tbehrens@suse.com>2013-03-23 20:22:31 +0000
commitcafc879f8978ea9f7fca1be9f6aa5057f0a59617 (patch)
tree104b318b6b9a5410442dfac1853477c7c03cf5eb /drawinglayer/inc
parent4eda900b8391c691445ab460ffad196132bc394e (diff)
fdo#62525: use cow_wrapper for FillBitmapAttribute
Change-Id: I0f666d4baaf6dc4e9f7ea30a518a8904f01d749f Reviewed-on: https://gerrit.libreoffice.org/2948 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/fillbitmapattribute.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx
index ced46b3e4078..851dc5ed0697 100644
--- a/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx
+++ b/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_DRAWINGLAYER_ATTRIBUTE_FILLBITMAPATTRIBUTE_HXX
#include <drawinglayer/drawinglayerdllapi.h>
+#include <o3tl/cow_wrapper.hxx>
//////////////////////////////////////////////////////////////////////////////
// predefines
@@ -44,8 +45,11 @@ namespace drawinglayer
{
class DRAWINGLAYER_DLLPUBLIC FillBitmapAttribute
{
+ public:
+ typedef o3tl::cow_wrapper< ImpFillBitmapAttribute > ImplType;
+
private:
- ImpFillBitmapAttribute* mpFillBitmapAttribute;
+ ImplType mpFillBitmapAttribute;
public:
/// constructors/assignmentoperator/destructor