diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-19 11:54:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-19 13:06:47 +0200 |
commit | f7ee0054cf9da35f210d9043a68339415aba2284 (patch) | |
tree | a742188e64af9a40d3c33be5017888b501f78ef3 /sw/inc/docufld.hxx | |
parent | a754294ac7a902fe96fbbd6b8b6824a360d6b248 (diff) |
use rtl::Reference in SwPostItField
instead of manual acquire/release
Change-Id: Id14ac4731e513ae37f922db5d1e497aee10b3b35
Diffstat (limited to 'sw/inc/docufld.hxx')
-rw-r--r-- | sw/inc/docufld.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index b3685bcdb826..7b91dffeb559 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -21,7 +21,7 @@ #include <tools/date.hxx> #include <tools/datetime.hxx> - +#include <rtl/ref.hxx> #include <svl/macitem.hxx> #include "fldbas.hxx" @@ -443,7 +443,7 @@ class SW_DLLPUBLIC SwPostItField : public SwField OUString sName; ///< Name of the comment. DateTime aDateTime; OutlinerParaObject* mpText; - SwTextAPIObject* m_pTextObject; + rtl::Reference<SwTextAPIObject> m_xTextObject; public: SwPostItField( SwPostItFieldType*, |