summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-24 16:51:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-24 16:51:43 +0000
commitfc55481db2555bf78a09b18ab1a8b9068a1515dc (patch)
tree21d380aa05ce3961b42919a987efe63d14afeb49 /sax/source
parent1269b1613dcec1a69671f827c07796696f6b8769 (diff)
cppcheck: unused variable
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/tools/converter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index 5dee77ea41d5..40e8f5009d10 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -1179,11 +1179,10 @@ bool Converter::convertDateOrDateTime(
const ::rtl::OUString string = rString.trim().toAsciiUpperCase();
sal_Int32 nPos(0);
- bool bNegative(false);
if ((string.getLength() > nPos) && (sal_Unicode('-') == string[nPos]))
{
+ //Negative Number
++nPos;
- bNegative = true;
}
sal_Int32 nYear(0);