diff options
author | David Tardon <dtardon@redhat.com> | 2011-01-25 13:18:16 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-01-25 14:45:49 +0100 |
commit | 82d327237e9db22eb5b3e2253554c0bccb0bdac6 (patch) | |
tree | 99dffaaf76aca5ab93207a7a9f34415b5a8e32d9 /xmloff/source | |
parent | 8c8478ff36a79e58c29ebdb092ba36ebe5535fbb (diff) |
WaE: unused variables
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/draw/ximpcustomshape.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xmloff/source/draw/ximpcustomshape.cxx b/xmloff/source/draw/ximpcustomshape.cxx index 8a00e14d0005..74d75f2253a6 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; |