summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--l10ntools/source/localize.cxx2
-rw-r--r--l10ntools/source/merge.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx
index 9379590d089c..ec34650060ea 100644
--- a/l10ntools/source/localize.cxx
+++ b/l10ntools/source/localize.cxx
@@ -965,7 +965,7 @@ int _cdecl main( int argc, char *argv[] )
{
ByteString sFileNameWithExt( sFileName );
sFileNameWithExt += ByteString( "." );
- sFileNameWithExt += ByteString( (*iter).c_str() , (*iter).length() );
+ sFileNameWithExt += ByteString( (*iter).c_str() );
aIter.Extract( sFileNameWithExt );
}
if( bQuiet2 ){ printf("\n%d files found!\n",aIter.GetFileCnt());}
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx
index ace119da106c..b98bc53a6adb 100644
--- a/l10ntools/source/merge.cxx
+++ b/l10ntools/source/merge.cxx
@@ -55,7 +55,7 @@ BOOL PFormEntrys::GetTransex3Text( ByteString &rReturn,
{
BOOL rc = GetText( rReturn , nTyp , nLangIndex , bDel );
ByteString test( rReturn );
- for( int idx = 0; idx < rReturn.Len(); idx++ )
+ for( USHORT idx = 0; idx < rReturn.Len(); idx++ )
{
if( rReturn.GetChar( idx ) == '\"' && ( idx-1 > 0 ) && rReturn.GetChar( idx-1 ) == '\\' )
{