summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaname.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-08-03 11:54:45 +0200
committerIvo Hinkelmann <ihi@openoffice.org>2010-08-03 11:54:45 +0200
commit48018b48b69b584bf3e97ee797c0dbd2c49385ca (patch)
treef3506191605c9e194a3eab8fc09c3a954b3db26d /sc/source/ui/vba/vbaname.cxx
parent241e2ae39ca60a86e66b911037c0829879541c86 (diff)
parent77ccf4c8b1828fea6bc0a86b741bfd2d43e2937f (diff)
CWS-TOOLING: integrate CWS mib17
Notes
Notes: split repo tag: calc_ooo/OOO330_m3
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 a6e8a402425f5..464b167df2509 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;
}