[SOLVED] Re: Cppcheck: "bContainsDate" not read in templateremoteview.cxx (sfx2)

2013-02-27 Thread julien2412
Caolán McNamara wrote > On Tue, 2013-02-12 at 05:58 -0800, julien2412 [via Document Foundation > Mail Archive] wrote: >> Caolán McNamara wrote >> So, unless Rafael has other plans, it looks to me that you can >> remove the bContainsDate lines, the aDT = lines, and the >>

Re: Cppcheck: "bContainsDate" not read in templateremoteview.cxx (sfx2)

2013-02-26 Thread Caolán McNamara
On Tue, 2013-02-12 at 05:58 -0800, julien2412 [via Document Foundation Mail Archive] wrote: > Caolán McNamara wrote > So, unless Rafael has other plans, it looks to me that you can > remove the bContainsDate lines, the aDT = lines, and the > getPropertyValue(..) >

Re: Cppcheck: "bContainsDate" not read in templateremoteview.cxx (sfx2)

2013-02-12 Thread julien2412
Caolán McNamara wrote > On Sun, 2013-01-27 at 14:02 -0800, julien2412 wrote: >>... >> Should line 129 just be removed or bContainsDate should be used in some >> way >> or bContainsDate shouldn't be a new variable for each while loop? > > Hmm, not alone is bContainsDate not used anywhere, neither i

Re: Cppcheck: "bContainsDate" not read in templateremoteview.cxx (sfx2)

2013-02-05 Thread Caolán McNamara
On Sun, 2013-01-27 at 14:02 -0800, julien2412 wrote: > Hello, > > Cppcheck detected this: > sfx2/source/control/templateremoteview.cxx > 129 unreadVariable style Variable 'bContainsDate' is assigned a value > that > is never used. > > Here are the lines: > 124 bool b

Cppcheck: "bContainsDate" not read in templateremoteview.cxx (sfx2)

2013-01-27 Thread julien2412
Hello, Cppcheck detected this: sfx2/source/control/templateremoteview.cxx 129 unreadVariable style Variable 'bContainsDate' is assigned a value that is never used. Here are the lines: 124 bool bContainsDate = !xRow->wasNull(); 125 126 i