summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-04-02 23:00:47 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-04-02 23:01:14 +0200
commitef53a3a12e4f4aaf8ae33985bd22e89b08b8c03b (patch)
tree92977f2df016ab6c21b06f8ecbf721c5911a01f3 /sc
parent7dac241ca0dd0e8c53c246d8490e954d5b594862 (diff)
Some cppcheck cleaning
Change-Id: I993bd95b31f1090c747f01a899650e8873dcaada
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/rangeutl.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx
index 81772985535c..2f3f43972a48 100644
--- a/sc/source/core/tool/rangeutl.cxx
+++ b/sc/source/core/tool/rangeutl.cxx
@@ -188,11 +188,10 @@ sal_Bool ScRangeUtil::IsAbsArea( const String& rAreaStr,
ScRefAddress* pEndPos,
ScAddress::Details const & rDetails ) const
{
- sal_Bool bIsAbsArea = false;
ScRefAddress startPos;
ScRefAddress endPos;
- bIsAbsArea = ConvertDoubleRef( pDoc, rAreaStr, nTab, startPos, endPos, rDetails );
+ sal_Bool bIsAbsArea = ConvertDoubleRef( pDoc, rAreaStr, nTab, startPos, endPos, rDetails );
if ( bIsAbsArea )
{
@@ -229,10 +228,9 @@ sal_Bool ScRangeUtil::IsAbsPos( const String& rPosStr,
ScRefAddress* pPosTripel,
ScAddress::Details const & rDetails ) const
{
- sal_Bool bIsAbsPos = false;
ScRefAddress thePos;
- bIsAbsPos = ConvertSingleRef( pDoc, rPosStr, nTab, thePos, rDetails );
+ sal_Bool bIsAbsPos = ConvertSingleRef( pDoc, rPosStr, nTab, thePos, rDetails );
thePos.SetRelCol( false );
thePos.SetRelRow( false );
thePos.SetRelTab( false );