summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-01-25 13:18:16 +0100
committerDavid Tardon <dtardon@redhat.com>2011-01-25 14:45:49 +0100
commit8e20cb9937a16d49b36b6557d483d2de84e78cf8 (patch)
tree80faf75ddf2e711a2db98af2a87bbf06c3018882
parent46e7066e0edac4a2d077a7164f819998baa6b204 (diff)
WaE: unused variables
-rw-r--r--xmloff/source/draw/ximpcustomshape.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/xmloff/source/draw/ximpcustomshape.cxx b/xmloff/source/draw/ximpcustomshape.cxx
index e768c8b39d..e9365f614e 100644
--- a/xmloff/source/draw/ximpcustomshape.cxx
+++ b/xmloff/source/draw/ximpcustomshape.cxx
@@ -318,9 +318,7 @@ sal_Bool GetNextParameter( com::sun::star::drawing::EnhancedCustomShapeParameter
{
sal_Int32 nStartIndex = nIndex;
- sal_Bool bM = sal_False; // set if the value is negative
sal_Bool bE = sal_False; // set if a double is including a "E" statement
- sal_Bool bEM = sal_False; // set if a double is including a "E-"statement
sal_Bool bDot = sal_False; // set if there is a dot included
sal_Bool bEnd = sal_False; // set for each value that can not be part of a double/integer
@@ -347,12 +345,7 @@ sal_Bool GetNextParameter( com::sun::star::drawing::EnhancedCustomShapeParameter
bValid = sal_False;
else
{
- if ( nStartIndex == nIndex )
- bM = sal_True;
- else if ( bE )
- bEM = sal_True;
- else
- bValid = sal_False;
+ bValid = ( nStartIndex == nIndex ) || bE;
}
}
break;