diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-04 21:30:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-05 13:59:05 +0100 |
commit | 5688b51bcb23b12b335dadf4430b7b7c4407cbfb (patch) | |
tree | b2c358d422775d0d9d312cca653c9e4e7b989ed2 /canvas/source | |
parent | dd20a8c6e2ebeceff90567597d712e4c03c2ac7d (diff) |
UniString::CreateFromInt32 -> rtl::OUString::valueOf
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/cairo/cairo_devicehelper.cxx | 8 | ||||
-rw-r--r-- | canvas/source/vcl/devicehelper.cxx | 8 | ||||
-rw-r--r-- | canvas/source/vcl/spritedevicehelper.cxx | 8 |
3 files changed, 12 insertions, 12 deletions
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 ); |