diff options
author | Noel Power <noel.power@suse.com> | 2013-05-10 17:21:54 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-05-10 17:28:18 +0100 |
commit | 566f52506e8e160540a3bcd0dc46f93e87e3155a (patch) | |
tree | 78a54b4764b75e10ceb69ba1efd57041f7797654 /sc/inc/nameuno.hxx | |
parent | 3c2d0acc871057573fe9ab45b8161fce70190e80 (diff) |
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
Diffstat (limited to 'sc/inc/nameuno.hxx')
-rw-r--r-- | sc/inc/nameuno.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
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, |