diff options
author | Andreas Bregas <ab@openoffice.org> | 2010-07-01 16:23:26 +0200 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2010-07-01 16:23:26 +0200 |
commit | 3ed00acdeb3014d8491ecd3e71fb035ae8ed6a8e (patch) | |
tree | 3f36afdaca75b00ca70495ab9c297218676a79a4 /sc/source/ui/vba/vbaname.cxx | |
parent | 54581ce35685d0cc4bb6aeec1713c0f5792aac7d (diff) |
mib17: #111144# Enable calls to module function via Sheet object
Diffstat (limited to 'sc/source/ui/vba/vbaname.cxx')
-rw-r--r-- | sc/source/ui/vba/vbaname.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbaname.cxx b/sc/source/ui/vba/vbaname.cxx index 81d5ba975..66381c15e 100644 --- a/sc/source/ui/vba/vbaname.cxx +++ b/sc/source/ui/vba/vbaname.cxx @@ -232,10 +232,8 @@ ScVbaName::setRefersToR1C1Local( const ::rtl::OUString & rRefersTo ) throw (css: css::uno::Reference< ov::excel::XRange > ScVbaName::getRefersToRange() throw (css::uno::RuntimeException) { - // FIXME: pass proper Worksheet parent uno::Reference< ov::excel::XRange > xRange = ScVbaRange::getRangeObjectForName( - uno::Reference< XHelperInterface >(), mxContext, - mxNamedRange->getName(), excel::getDocShell( mxModel ), formula::FormulaGrammar::CONV_XL_R1C1 ); + mxContext, mxNamedRange->getName(), excel::getDocShell( mxModel ), formula::FormulaGrammar::CONV_XL_R1C1 ); return xRange; } |