From e9bb2e6f09d711833e659db3b229326d5e997266 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Sun, 24 May 2015 17:21:47 +0200 Subject: tdf#62525: use cow_wrapper for SdrTextAttribute Change-Id: I8daf6d155c631cbdb850a6af95c92a578905d6e6 --- include/svx/sdr/attribute/sdrtextattribute.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/svx/sdr') 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 #include #include - +#include // 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 -- cgit