summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2015-05-24 12:41:24 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-05-24 21:49:53 +0200
commit6a42657fa9afc93c3e4b7afc0c00c0de8e704169 (patch)
tree13c380b26e357764fe2f9dd98669a05d012a4888 /include
parent551c204740a37c8dbc7acd35bc9fe683ade3fe80 (diff)
tdf#62525: use cow_wrapper for SdrFormTextAttribute
Change-Id: I0fd55ea6c775d771e001c0db78bb72c50e9b81cf
Diffstat (limited to 'include')
-rw-r--r--include/svx/sdr/attribute/sdrformtextattribute.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/svx/sdr/attribute/sdrformtextattribute.hxx b/include/svx/sdr/attribute/sdrformtextattribute.hxx
index 970fbb50872c..466b95ee37db 100644
--- a/include/svx/sdr/attribute/sdrformtextattribute.hxx
+++ b/include/svx/sdr/attribute/sdrformtextattribute.hxx
@@ -23,7 +23,7 @@
#include <sal/types.h>
#include <svx/xenum.hxx>
#include <tools/color.hxx>
-
+#include <o3tl/cow_wrapper.hxx>
// predefines
@@ -42,8 +42,11 @@ namespace drawinglayer
{
class SdrFormTextAttribute
{
+ public:
+ typedef o3tl::cow_wrapper< ImpSdrFormTextAttribute > ImplType;
+
private:
- ImpSdrFormTextAttribute* mpSdrFormTextAttribute;
+ ImplType mpSdrFormTextAttribute;
public:
/// constructors/assignmentoperator/destructor