Re: [Libreoffice] cppcheck duplicate if expressions in bulmaper.cxx (sd part)

2011-09-14 Thread Kevin Hunter
At 2:19am -0400 Fri, 09 Sep 2011, Stephan Bergmann wrote: On 09/08/2011 10:47 PM, julien2412 wrote: Here is the pb : if( 0 )--- Found duplicate if expressions. { [...code...] } else if( 0 ) { [...code...] } I checked the history, it's there since 16/11/2000 (commit

Re: [Libreoffice] cppcheck duplicate if expressions in bulmaper.cxx (sd part)

2011-09-14 Thread Kevin Hunter
At 12:45pm -0400 Wed, 14 Sep 2011, Kevin Hunter wrote: At 2:19am -0400 Fri, 09 Sep 2011, Stephan Bergmann wrote: On 09/08/2011 10:47 PM, julien2412 wrote: Here is the pb : if( 0 )--- Found duplicate if expressions. { [...code...] } else if( 0 ) { [...code...] } I checked the history, it's

Re: [Libreoffice] cppcheck duplicate if expressions in bulmaper.cxx (sd part)

2011-09-09 Thread Stephan Bergmann
On 09/08/2011 10:47 PM, julien2412 wrote: Here is the pb : if( 0 )--- Found duplicate if expressions. { nFontID = EE_CHAR_FONTINFO_CJK; nFontHeightID = EE_CHAR_FONTHEIGHT_CJK; nWeightID = EE_CHAR_WEIGHT_CJK;

Re: [Libreoffice] cppcheck duplicate if expressions in bulmaper.cxx (sd part)

2011-09-09 Thread Caolán McNamara
On Fri, 2011-09-09 at 08:19 +0200, Stephan Bergmann wrote: On 09/08/2011 10:47 PM, julien2412 wrote: I checked the history, it's there since 16/11/2000 (commit 5dc708093d1ee179099abdcbf0c6f649b1c4deeb) could anyone explain to me the purpose of this ? Just a typo ? It's preceded by

[Libreoffice] cppcheck duplicate if expressions in bulmaper.cxx (sd part)

2011-09-08 Thread julien2412
Hello, Here is the pb : if( 0 )--- Found duplicate if expressions. { nFontID = EE_CHAR_FONTINFO_CJK; nFontHeightID = EE_CHAR_FONTHEIGHT_CJK; nWeightID = EE_CHAR_WEIGHT_CJK; nPostureID = EE_CHAR_ITALIC_CJK;