summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaname.cxx
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2010-07-01 16:23:26 +0200
committerAndreas Bregas <ab@openoffice.org>2010-07-01 16:23:26 +0200
commit3ed00acdeb3014d8491ecd3e71fb035ae8ed6a8e (patch)
tree3f36afdaca75b00ca70495ab9c297218676a79a4 /sc/source/ui/vba/vbaname.cxx
parent54581ce35685d0cc4bb6aeec1713c0f5792aac7d (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.cxx4
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;
}