summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-29 09:02:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-29 09:05:07 +0100
commit7fe95cc52cf08b9351bd9af0a0a99941e4795233 (patch)
tree4034590e47d466768bce7ae39b0bbdcd5c8f0f63 /l10ntools
parent62cdb33fe18b37488dd908ceb315abe890eb14b8 (diff)
remove deprecated ByteString::CreateFromInt64
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/export.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 69f1e967b13c..6d08da4144f7 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -1268,7 +1268,7 @@ sal_Bool Export::WriteData( ResData *pResData, sal_Bool bCreateNew )
sOutput += sLID; sOutput += "\t";
sOutput += pResData->sHelpId; sOutput += "\t";
sOutput += pResData->sPForm; sOutput += "\t";
- sOutput += ByteString::CreateFromInt64( pResData->nWidth ); sOutput += "\t";
+ sOutput += ByteString(rtl::OString::valueOf(static_cast<sal_Int64>(pResData->nWidth))); sOutput += "\t";
sOutput += sCur; sOutput += "\t";
@@ -1369,7 +1369,7 @@ sal_Bool Export::WriteExportList( ResData *pResData, ExportList *pExportList,
// ByteString a("Export::WriteExportList::pEntry");
// Export::DumpMap( a, *pEntry );
- ByteString sLID( ByteString::CreateFromInt64( i + 1 ));
+ ByteString sLID(rtl::OString::valueOf(static_cast<sal_Int64>(i + 1)));
for( unsigned int n = 0; n < aLanguages.size(); n++ ){
sCur = aLanguages[ n ];
if ( (*pEntry)[ SOURCE_LANGUAGE ].Len() )
@@ -1520,7 +1520,7 @@ void Export::InsertListEntry( const ByteString &rText, const ByteString &rLine )
a.Append( "." );
a.Append( pResData->sId );
sal_Int64 x = nListIndex+1;
- ByteString b( ByteString::CreateFromInt64( x ) );
+ ByteString b(rtl::OString::valueOf(x));
ByteString sKey = MergeDataFile::CreateKey( sPlist , a , b , sFilename );
pResData->addFallbackData( sKey , rText );
}