summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaname.cxx
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-08-25 15:47:38 +0200
committerVladimir Glazunov <vg@openoffice.org>2010-08-25 15:47:38 +0200
commit4af9b31225fdf406b5b6cd9204f583d22a4c7666 (patch)
tree37fe3a6e96c1c2885ac0a1511e010049b7a05ad7 /sc/source/ui/vba/vbaname.cxx
parent2998a94e194cd67050129d163d6bb155d667eda7 (diff)
parent48018b48b69b584bf3e97ee797c0dbd2c49385ca (diff)
DEV300: merge 000330 till r. b727f1beb700
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;
}