summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-24 15:07:07 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-11-24 15:07:37 +0100
commit87cce82dbc0ae24b207c45dc3f27c8f51c0fbb8b (patch)
treebe55cf321873c46807d388ce24e8c589e64f6cdb
parent5cad3ba0bf5cb2e77ac565ca855ccf39626297d7 (diff)
cppcheck: fix same expression on both sides
Change-Id: I3de69e2ae186ea1ae8f792588c04b4e799ce1331
-rw-r--r--sax/source/tools/converter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index a2b3dd0af9fd..c77e02aa402b 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -2330,7 +2330,7 @@ sal_Int16 Converter::GetUnitFromString(const OUString& rString, sal_Int16 nDefau
case sal_Unicode('I'):
{
if(nPos+1 < nLen && (rString[nPos+1] == 'n'
- || rString[nPos+1] == 'n'))
+ || rString[nPos+1] == 'N'))
nRetUnit = MeasureUnit::INCH;
break;
}