diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-07 09:03:53 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-08 06:39:11 +0000 |
commit | e626ebf50884520b38137a52a6ffc654c377956d (patch) | |
tree | cd38bee6f815381dfcecb88543708f250188a599 /sc/inc/notesuno.hxx | |
parent | 261f734b3c0e62ada51485ba81a535d32049c946 (diff) |
remove some manual refcounting in sc
Change-Id: Ie13b28ffaf861dc85063e5a4b23fef8c929033d9
Reviewed-on: https://gerrit.libreoffice.org/26006
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/inc/notesuno.hxx')
-rw-r--r-- | sc/inc/notesuno.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/notesuno.hxx b/sc/inc/notesuno.hxx index ca9a3f494fb2..5b41cb2a3062 100644 --- a/sc/inc/notesuno.hxx +++ b/sc/inc/notesuno.hxx @@ -27,6 +27,7 @@ #include <com/sun/star/text/XSimpleText.hpp> #include <cppuhelper/implbase.hxx> #include <svl/lstner.hxx> +#include <rtl/ref.hxx> #include "address.hxx" class ScDocShell; @@ -118,7 +119,7 @@ private: private: ScDocShell* pDocShell; ScAddress aCellPos; - SvxUnoText* pUnoText; + rtl::Reference<SvxUnoText> pUnoText; }; #endif |