diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-25 17:17:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-04 10:11:07 +0200 |
commit | aeb41c9b9b7559c6d87bf92807acdc0df9e104cc (patch) | |
tree | 5a36bcd5af873c2b597fcda5fbd7e2f76f997669 /canvas | |
parent | 57c2de08ddf14c0da80de06736d99382ad036539 (diff) |
remove redundant calls to OUString constructor
Change code like this:
aStr = OUString("xxxx");
into this:
aStr = "xxxx";
Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/vcl/devicehelper.cxx | 4 | ||||
-rw-r--r-- | canvas/source/vcl/spritedevicehelper.cxx | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/canvas/source/vcl/devicehelper.cxx b/canvas/source/vcl/devicehelper.cxx index b874bd1a5ff3..2618a04b219b 100644 --- a/canvas/source/vcl/devicehelper.cxx +++ b/canvas/source/vcl/devicehelper.cxx @@ -211,9 +211,7 @@ namespace vclcanvas if( mpOutDev ) { - OUString aFilename("dbg_frontbuffer"); - aFilename += OUString::number(nFilePostfixCount); - aFilename += OUString(".bmp"); + OUString aFilename = "dbg_frontbuffer" + OUString::number(nFilePostfixCount) + ".bmp"; SvFileStream aStream( aFilename, STREAM_STD_READWRITE ); diff --git a/canvas/source/vcl/spritedevicehelper.cxx b/canvas/source/vcl/spritedevicehelper.cxx index 2e1063c5f8b6..a92150a6782a 100644 --- a/canvas/source/vcl/spritedevicehelper.cxx +++ b/canvas/source/vcl/spritedevicehelper.cxx @@ -128,9 +128,7 @@ namespace vclcanvas if( mpBackBuffer ) { - OUString aFilename("dbg_backbuffer"); - aFilename += OUString::number(nFilePostfixCount); - aFilename += OUString(".bmp"); + OUString aFilename = "dbg_backbuffer" + OUString::number(nFilePostfixCount) + OUString(".bmp"); SvFileStream aStream( aFilename, STREAM_STD_READWRITE ); |