summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}