summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/devicehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/devicehelper.cxx')
-rw-r--r--canvas/source/vcl/devicehelper.cxx8
1 files changed, 4 insertions, 4 deletions
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 );