diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-27 03:51:53 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-03-27 13:17:40 +0100 |
commit | 32ec7666596b2a0f27c72f9d856e2ec0f0545f6b (patch) | |
tree | 29ed24a59a586644c13ed28a72104d878df65938 /drawinglayer/inc | |
parent | 0bca4ccd54263bdef3722d96fe98760a5966c2f4 (diff) |
fdo#62525: use cow_wrapper for FontAttribute
Change-Id: Ic07da7c7cf225a910e6f0fa4f6d20c4700e7ec7a
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/attribute/fontattribute.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/attribute/fontattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/fontattribute.hxx index 36686fe1c912..b49ab83b300e 100644 --- a/drawinglayer/inc/drawinglayer/attribute/fontattribute.hxx +++ b/drawinglayer/inc/drawinglayer/attribute/fontattribute.hxx @@ -21,6 +21,7 @@ #define INCLUDED_DRAWINGLAYER_ATTRIBUTE_FONTATTRIBUTE_HXX #include <drawinglayer/drawinglayerdllapi.h> +#include <o3tl/cow_wrapper.hxx> ////////////////////////////////////////////////////////////////////////////// // predefines @@ -44,8 +45,11 @@ namespace drawinglayer */ class DRAWINGLAYER_DLLPUBLIC FontAttribute { + public: + typedef o3tl::cow_wrapper< ImpFontAttribute > ImplType; + private: - ImpFontAttribute* mpFontAttribute; + ImplType mpFontAttribute; public: /// constructors/assignmentoperator/destructor |