Kaydet (Commit) ec7d0a45 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1266465 Improper use of negative value

Change-Id: I21ca714a701f58aa413bc508eb1ad128ebb39e58
üst c58d4919
......@@ -85,6 +85,8 @@ static OUString ImplGetCurr( const LocaleDataWrapper& rLocaleDataWrapper, const
OUString aFractionStr = rLocaleDataWrapper.getNum( (long)aFraction, 0 );
sal_Int32 nSPos = aTemplate.indexOf( '1' );
if (nSPos == -1)
break;
if ( aFractionStr.getLength() == 1 )
aTemplate[ nSPos ] = aFractionStr[0];
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment