summaryrefslogtreecommitdiff
path: root/sc/inc/nameuno.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-29 20:03:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-29 20:03:23 +0100
commitd3c772229cf93ecb1296a67f4ddf5e73afe41b7e (patch)
tree267a6114694d01e475222e5063b98b2b98680ed7 /sc/inc/nameuno.hxx
parentca6052b9a62596902f901f8fa36680d7abe989f5 (diff)
Use rtl::Reference<>.
Diffstat (limited to 'sc/inc/nameuno.hxx')
-rw-r--r--sc/inc/nameuno.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/nameuno.hxx b/sc/inc/nameuno.hxx
index 487237327e2f..a83748c824e1 100644
--- a/sc/inc/nameuno.hxx
+++ b/sc/inc/nameuno.hxx
@@ -49,6 +49,7 @@
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase5.hxx>
#include <cppuhelper/implbase6.hxx>
+#include <rtl/ref.hxx>
class ScDocShell;
class ScRangeName;
@@ -67,7 +68,7 @@ class ScNamedRangeObj : public ::cppu::WeakImplHelper6<
public SfxListener
{
private:
- com::sun::star::uno::Reference< com::sun::star::sheet::XNamedRanges > mxParent;
+ rtl::Reference< ScNamedRangesObj > mxParent;
ScDocShell* pDocShell;
String aName;
com::sun::star::uno::Reference< com::sun::star::container::XNamed > mxSheet;
@@ -81,7 +82,7 @@ private:
SCTAB GetTab_Impl();
public:
- ScNamedRangeObj( com::sun::star::uno::Reference< com::sun::star::sheet::XNamedRanges > xParent, ScDocShell* pDocSh, const String& rNm,
+ ScNamedRangeObj( rtl::Reference< ScNamedRangesObj > xParent, ScDocShell* pDocSh, const String& rNm,
com::sun::star::uno::Reference< com::sun::star::container::XNamed > xSheet = com::sun::star::uno::Reference< com::sun::star::container::XNamed > ());
virtual ~ScNamedRangeObj();