diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-04 08:13:44 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-04 08:13:44 +0300 |
commit | 5551702b8dc3e9d06510ea7d12e6a25f35468a93 (patch) | |
tree | 7b7810cc7f42694e32fcdd57af00c2f5ea916d4d /vcl/source | |
parent | 690b40af2d1e38e8a836b4c64b3fa3082fbac536 (diff) |
WaE: variable is uninitialized when used within its own initialization
Presumably aStr is intended here, not aTmpStr itself.
Change-Id: I9a887c33f89d519c17ee0156ba9cea55b465fe97
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 353a3bed7b30..0413cc0ceb9b 100644 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -6688,7 +6688,7 @@ OUString OutputDevice::ImplGetEllipsisString( const OutputDevice& rTargetDevice, } else if ( nStyle & TEXT_DRAW_ENDELLIPSIS ) { - OUString aTmpStr = aStr.replaceAt( nIndex, aTmpStr.getLength()-nIndex, "" ); + OUString aTmpStr = aStr.replaceAt( nIndex, aStr.getLength()-nIndex, "" ); if ( nIndex > 1 ) { |