diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-11 01:18:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-11 11:10:38 +0100 |
commit | 03279732bd258de9d21348a75ab4f3bbcb9874f9 (patch) | |
tree | 9537ee48d0d93be5ac1f2a5a69c256870bc6a819 /l10ntools | |
parent | callcatcher: yet more unused code (diff) | |
download | core-03279732bd258de9d21348a75ab4f3bbcb9874f9.tar.gz core-03279732bd258de9d21348a75ab4f3bbcb9874f9.zip |
ByteString::ToInt64 is atoi the same as ToInt32, and we downcast anyway
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/export.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index 94f1650ef4b0..b6a47a008f72 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -1045,10 +1045,10 @@ int Export::Execute( int nToken, const char * pToken ) sMapping.EraseAllChars( ' ' ); sMapping.EraseAllChars( '\t' ); if ( sKey.ToUpperAscii() == "SIZE" ) { - pResData->nWidth = ( sal_uInt16 ) sMapping.GetToken( 0, ',' ).ToInt64(); + pResData->nWidth = ( sal_uInt16 ) sMapping.GetToken( 0, ',' ).ToInt32(); } else if ( sKey == "POSSIZE" ) { - pResData->nWidth = ( sal_uInt16 ) sMapping.GetToken( 2, ',' ).ToInt64(); + pResData->nWidth = ( sal_uInt16 ) sMapping.GetToken( 2, ',' ).ToInt32(); } } break; |