diff options
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/print/glyphset.cxx | 4 | ||||
-rw-r--r-- | vcl/generic/print/printerjob.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/generic/print/glyphset.cxx b/vcl/generic/print/glyphset.cxx index d22d2c89e56d..94730be8d385 100644 --- a/vcl/generic/print/glyphset.cxx +++ b/vcl/generic/print/glyphset.cxx @@ -395,7 +395,7 @@ GlyphSet::GetGlyphSetEncodingName (rtl_TextEncoding nEnc, const OString &rFontNa { return rFontName + OString("Enc") - + OString::valueOf ((sal_Int32)(nEnc - RTL_TEXTENCODING_USER_START)); + + OString::number ((nEnc - RTL_TEXTENCODING_USER_START)); } else { @@ -448,7 +448,7 @@ GlyphSet::GetReencodedFontName (rtl_TextEncoding nEnc, const OString &rFontName) { return rFontName + OString("-enc") - + OString::valueOf ((sal_Int32)(nEnc - RTL_TEXTENCODING_USER_START)); + + OString::number ((nEnc - RTL_TEXTENCODING_USER_START)); } else { diff --git a/vcl/generic/print/printerjob.cxx b/vcl/generic/print/printerjob.cxx index 2af8923af271..7c1b359cd836 100644 --- a/vcl/generic/print/printerjob.cxx +++ b/vcl/generic/print/printerjob.cxx @@ -586,7 +586,7 @@ PrinterJob::StartPage (const JobData& rJobSetup) { InitPaperSize (rJobSetup); - OUString aPageNo = OUString::valueOf ((sal_Int32)maPageList.size()+1); // sequential page number must start with 1 + OUString aPageNo = OUString::number ((sal_Int32)maPageList.size()+1); // sequential page number must start with 1 OUString aExt = aPageNo + OUString(".ps"); osl::File* pPageHeader = CreateSpoolFile ( OUString("psp_pghead"), aExt); @@ -862,7 +862,7 @@ void PrinterJob::writeJobPatch( osl::File* pFile, const JobData& rJobData ) { // note: this discards patch files not adhering to the "int" scheme // as there won't be a value for them - writeFeature( pFile, pKey, pKey->getValue( OUString::valueOf( patch_order.front() ) ), false ); + writeFeature( pFile, pKey, pKey->getValue( OUString::number( patch_order.front() ) ), false ); patch_order.pop_front(); } } |