summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-06-11 13:07:26 +0200
committerIvo Hinkelmann <ihi@openoffice.org>2010-06-11 13:07:26 +0200
commit0742e8e31b30b5ea203bbad44510c6d41b7e9793 (patch)
tree35e963c7c116ac36c1772b1d8eaff2cc8c4a7339
parent40b452532fa73a81482691a713324d2be91df1ed (diff)
l10ntooling18: idx-1 > 0 -> idx >= 1
-rw-r--r--l10ntools/source/merge.cxx2
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 );
}