vcl/source/gdi/outdev3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5551702b8dc3e9d06510ea7d12e6a25f35468a93 Author: Tor Lillqvist <t...@iki.fi> Date: Thu Apr 4 08:13:44 2013 +0300 WaE: variable is uninitialized when used within its own initialization Presumably aStr is intended here, not aTmpStr itself. Change-Id: I9a887c33f89d519c17ee0156ba9cea55b465fe97 diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 353a3be..0413cc0 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 ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits