From 5688b51bcb23b12b335dadf4430b7b7c4407cbfb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 4 Apr 2012 21:30:30 +0100 Subject: UniString::CreateFromInt32 -> rtl::OUString::valueOf --- canvas/source/cairo/cairo_devicehelper.cxx | 8 ++++---- canvas/source/vcl/devicehelper.cxx | 8 ++++---- canvas/source/vcl/spritedevicehelper.cxx | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'canvas/source') diff --git a/canvas/source/cairo/cairo_devicehelper.cxx b/canvas/source/cairo/cairo_devicehelper.cxx index bf1679a5fb6e..2e2bc0659f95 100644 --- a/canvas/source/cairo/cairo_devicehelper.cxx +++ b/canvas/source/cairo/cairo_devicehelper.cxx @@ -257,13 +257,13 @@ namespace cairocanvas void DeviceHelper::dumpScreenContent() const { - static sal_uInt32 nFilePostfixCount(0); + static sal_Int32 nFilePostfixCount(0); if( mpRefDevice ) { - String aFilename( String::CreateFromAscii("dbg_frontbuffer") ); - aFilename += String::CreateFromInt32(nFilePostfixCount); - aFilename += String::CreateFromAscii(".bmp"); + rtl::OUString aFilename("dbg_frontbuffer"); + aFilename += rtl::OUString::valueOf(nFilePostfixCount); + aFilename += rtl::OUString(".bmp"); SvFileStream aStream( aFilename, STREAM_STD_READWRITE ); diff --git a/canvas/source/vcl/devicehelper.cxx b/canvas/source/vcl/devicehelper.cxx index 1c2c085e30a6..44c35cbf4ac7 100644 --- a/canvas/source/vcl/devicehelper.cxx +++ b/canvas/source/vcl/devicehelper.cxx @@ -216,13 +216,13 @@ namespace vclcanvas void DeviceHelper::dumpScreenContent() const { - static sal_uInt32 nFilePostfixCount(0); + static sal_Int32 nFilePostfixCount(0); if( mpOutDev ) { - String aFilename( String::CreateFromAscii("dbg_frontbuffer") ); - aFilename += String::CreateFromInt32(nFilePostfixCount); - aFilename += String::CreateFromAscii(".bmp"); + rtl::OUString aFilename("dbg_frontbuffer"); + aFilename += rtl::OUString::valueOf(nFilePostfixCount); + aFilename += rtl::OUString(".bmp"); SvFileStream aStream( aFilename, STREAM_STD_READWRITE ); diff --git a/canvas/source/vcl/spritedevicehelper.cxx b/canvas/source/vcl/spritedevicehelper.cxx index 627ce37055b2..b99dc4e66cc0 100644 --- a/canvas/source/vcl/spritedevicehelper.cxx +++ b/canvas/source/vcl/spritedevicehelper.cxx @@ -135,13 +135,13 @@ namespace vclcanvas { DeviceHelper::dumpScreenContent(); - static sal_uInt32 nFilePostfixCount(0); + static sal_Int32 nFilePostfixCount(0); if( mpBackBuffer ) { - String aFilename( String::CreateFromAscii("dbg_backbuffer") ); - aFilename += String::CreateFromInt32(nFilePostfixCount); - aFilename += String::CreateFromAscii(".bmp"); + rtl::OUString aFilename("dbg_backbuffer"); + aFilename += rtl::OUString::valueOf(nFilePostfixCount); + aFilename += rtl::OUString(".bmp"); SvFileStream aStream( aFilename, STREAM_STD_READWRITE ); -- cgit