summaryrefslogtreecommitdiff
path: root/include/svx/sdr
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2015-05-24 17:21:47 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-05-24 21:50:10 +0200
commite9bb2e6f09d711833e659db3b229326d5e997266 (patch)
treea035b32b69876853dfd6be0f4a433712c298ff64 /include/svx/sdr
parent27e1a92d3bddf3c3e8595256e67aff006a402b6a (diff)
tdf#62525: use cow_wrapper for SdrTextAttribute
Change-Id: I8daf6d155c631cbdb850a6af95c92a578905d6e6
Diffstat (limited to 'include/svx/sdr')
-rw-r--r--include/svx/sdr/attribute/sdrtextattribute.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/svx/sdr/attribute/sdrtextattribute.hxx b/include/svx/sdr/attribute/sdrtextattribute.hxx
index 637b769faa97..66e3e7ace384 100644
--- a/include/svx/sdr/attribute/sdrtextattribute.hxx
+++ b/include/svx/sdr/attribute/sdrtextattribute.hxx
@@ -24,7 +24,7 @@
#include <svx/xenum.hxx>
#include <editeng/outlobj.hxx>
#include <svx/sdtaitm.hxx>
-
+#include <o3tl/cow_wrapper.hxx>
// predefines
@@ -50,8 +50,11 @@ namespace drawinglayer
{
class SdrTextAttribute
{
+ public:
+ typedef o3tl::cow_wrapper< ImpSdrTextAttribute > ImplType;
+
private:
- ImpSdrTextAttribute* mpSdrTextAttribute;
+ ImplType mpSdrTextAttribute;
public:
/// constructors/assignmentoperator/destructor