diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-15 09:52:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-15 10:53:52 +0100 |
commit | 0d6f45377592a62ff4ee510d5fbd3bdd9e20160a (patch) | |
tree | d7581feb2d1a6d9acda1f850506616859a399655 /sw | |
parent | 7d05bbd50d5b3a9fff467b44e033bedb12a46a2d (diff) |
coverity#1212509 Logically dead code
this look very wrong, surely this is what was meant
Change-Id: I461fc1a67770c733aee2f4379dcc252abd09b641
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index 1dea221a236a..d688d9fea0ea 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -797,9 +797,9 @@ uno::Reference< chart2::data::XDataSource > SwChartDataProvider::Impl_createData { sal_Int32 nFirstSeqLen = 0; sal_Int32 nFirstSeqLabelIdx = -1; + bool bFirstFound = false; for (oi = 0; oi < oiEnd; ++oi) { - bool bFirstFound = false; // row/col used at all? if (aDataStartIdx[oi] != -1 && (!bFirstIsLabel || aLabelIdx[oi] != -1)) |