diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-24 16:51:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-24 16:51:43 +0000 |
commit | fc55481db2555bf78a09b18ab1a8b9068a1515dc (patch) | |
tree | 21d380aa05ce3961b42919a987efe63d14afeb49 | |
parent | 1269b1613dcec1a69671f827c07796696f6b8769 (diff) |
cppcheck: unused variable
-rw-r--r-- | sax/source/tools/converter.cxx | 3 |
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); |