summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xiescher.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xiescher.cxx')
-rw-r--r--sc/source/filter/excel/xiescher.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index f38c13f75ca0..94b2d0130d0b 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -1927,8 +1927,8 @@ void XclImpControlHelper::ReadCellLinkFormula( XclImpStream& rStrm, bool bWithBo
// Use first cell of first range
if ( !aScRanges.empty() )
{
- const ScRange* pScRange = aScRanges.front();
- mxCellLink.reset( new ScAddress( pScRange->aStart ) );
+ const ScRange & rScRange = aScRanges.front();
+ mxCellLink.reset( new ScAddress( rScRange.aStart ) );
}
}
@@ -1939,8 +1939,8 @@ void XclImpControlHelper::ReadSourceRangeFormula( XclImpStream& rStrm, bool bWit
// Use first range
if ( !aScRanges.empty() )
{
- const ScRange* pScRange = aScRanges.front();
- mxSrcRange.reset( new ScRange( *pScRange ) );
+ const ScRange & rScRange = aScRanges.front();
+ mxSrcRange.reset( new ScRange( rScRange ) );
}
}