diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-06-11 13:07:26 +0200 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-06-11 13:07:26 +0200 |
commit | 0742e8e31b30b5ea203bbad44510c6d41b7e9793 (patch) | |
tree | 35e963c7c116ac36c1772b1d8eaff2cc8c4a7339 /l10ntools/source | |
parent | 40b452532fa73a81482691a713324d2be91df1ed (diff) |
l10ntooling18: idx-1 > 0 -> idx >= 1
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/merge.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index b98bc53a6adb..e15a5c8a28fa 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -57,7 +57,7 @@ BOOL PFormEntrys::GetTransex3Text( ByteString &rReturn, ByteString test( rReturn ); for( USHORT idx = 0; idx < rReturn.Len(); idx++ ) { - if( rReturn.GetChar( idx ) == '\"' && ( idx-1 > 0 ) && rReturn.GetChar( idx-1 ) == '\\' ) + if( rReturn.GetChar( idx ) == '\"' && ( idx >= 1 ) && rReturn.GetChar( idx-1 ) == '\\' ) { rReturn.Erase( idx-1 , 1 ); } |