diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-08-29 09:13:48 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-06 22:39:47 +0200 |
commit | 40620d716b9f07924fe8896ca59753858b259d65 (patch) | |
tree | af58e9c3438b10948d6e91aec9053f7480540213 /vcl | |
parent | 80bf270d9b461261335103bbd6625345ec3c9d78 (diff) |
[cppchecker] local variable deleted
this local declaration makes no sense, based on the previous code, it seems
this is a rest of the former code change
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/winlayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 6eb423f72cf6..a7989a7ea898 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -692,7 +692,7 @@ long SimpleWinLayout::FillDXArray( long* pDXArray ) const { if( !mnWidth ) { - long mnWidth = mnBaseAdv; + mnWidth = mnBaseAdv; for( int i = 0; i < mnGlyphCount; ++i ) mnWidth += mpGlyphAdvances[ i ]; } |