diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-09-13 23:00:56 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-09-13 23:00:56 +0200 |
commit | 689bde97d1a249c679a16f084043256868cd4978 (patch) | |
tree | 4c696358ec0080aef80094a3d8436eacec1b1ca5 /vcl | |
parent | 81607ad3e7dfa8337aab162c7602a99743d23e0e (diff) |
Some cppcheck cleaning
Diffstat (limited to 'vcl')
-rwxr-xr-x | vcl/source/gdi/outdev3.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index f533639e67c4..3f3e9fb09b8c 100755 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -6436,14 +6436,13 @@ void OutputDevice::ImplDrawText( OutputDevice& rTargetDevice, const Rectangle& r XubString aLastLine; ImplMultiTextLineInfo aMultiLineInfo; ImplTextLineInfo* pLineInfo; - long nMaxTextWidth; xub_StrLen i; xub_StrLen nLines; xub_StrLen nFormatLines; if ( nTextHeight ) { - nMaxTextWidth = ImplGetTextLines( aMultiLineInfo, nWidth, aStr, nStyle, _rLayout ); + long nMaxTextWidth = ImplGetTextLines( aMultiLineInfo, nWidth, aStr, nStyle, _rLayout ); nLines = (xub_StrLen)(nHeight/nTextHeight); nFormatLines = aMultiLineInfo.Count(); if ( !nLines ) |