summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbanames.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbanames.cxx')
-rw-r--r--sc/source/ui/vba/vbanames.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbanames.cxx b/sc/source/ui/vba/vbanames.cxx
index 4e316e83f481..a90505a6662f 100644
--- a/sc/source/ui/vba/vbanames.cxx
+++ b/sc/source/ui/vba/vbanames.cxx
@@ -116,7 +116,7 @@ ScVbaNames::Add( const css::uno::Any& Name ,
throw uno::RuntimeException( u"This Name is not valid ."_ustr );
}
}
- uno::Reference< table::XCellRange > xUnoRange;
+ rtl::Reference< ScCellRangeObj > xUnoRange;
if ( RefersTo.hasValue() || RefersToR1C1.hasValue() || RefersToR1C1Local.hasValue() )
{
OUString sFormula;