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 553d796a7c83..42b290c67df3 100644
--- a/sc/source/ui/vba/vbanames.cxx
+++ b/sc/source/ui/vba/vbanames.cxx
@@ -170,7 +170,7 @@ ScVbaNames::Add( const css::uno::Any& Name ,
if ( ScVbaRange::getCellRangesForAddress( nFlags, sFormula, pDocSh, aCellRanges, eConv , ',' ) )
{
if ( aCellRanges.size() == 1 )
- xUnoRange = new ScCellRangeObj( pDocSh, *aCellRanges.front() );
+ xUnoRange = new ScCellRangeObj( pDocSh, aCellRanges.front() );
else
{
uno::Reference< sheet::XSheetCellRangeContainer > xRanges( new ScCellRangesObj( pDocSh, aCellRanges ) );