From 566f52506e8e160540a3bcd0dc46f93e87e3155a Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 10 May 2013 17:21:54 +0100 Subject: fix various problems with vba Names & Names objects a) Name.Value attribute was read only b) Name.[Get|Set]Value not working property c) Name.ReferToR1C1xxx attributes not returning r1c1 related addresses d) Names.Add just not working( should return a reference to the new Name ) e) Names.Add not handling multi-area addresses, not constructing the Content for the names correctly Change-Id: I6f3c1cf029d5e4003c5900a4e9525f5a0d9a8ed6 --- sc/inc/nameuno.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc/inc/nameuno.hxx') diff --git a/sc/inc/nameuno.hxx b/sc/inc/nameuno.hxx index 61be7bb7b0e9..053627130cbf 100644 --- a/sc/inc/nameuno.hxx +++ b/sc/inc/nameuno.hxx @@ -48,7 +48,7 @@ class ScRangeData; class ScTokenArray; class ScNamedRangesObj; -class ScNamedRangeObj : public ::cppu::WeakImplHelper6< +class SC_DLLPUBLIC ScNamedRangeObj : public ::cppu::WeakImplHelper6< ::com::sun::star::sheet::XNamedRange, ::com::sun::star::sheet::XFormulaTokens, ::com::sun::star::sheet::XCellRangeReferrer, @@ -64,6 +64,7 @@ private: com::sun::star::uno::Reference< com::sun::star::container::XNamed > mxSheet; private: +friend class ScVbaName; ScRangeData* GetRangeData_Impl(); void Modify_Impl( const String* pNewName, const ScTokenArray* pNewTokens, const String* pNewContent, -- cgit