diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-13 13:40:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-14 11:47:40 +0200 |
commit | ed77565f1487ed93e2557b562c10e0f4e8673c6a (patch) | |
tree | c03f4fef75eadd52a6e9cea4c2f9c58367981507 | |
parent | c50cd9678df2067b33f6c1d98600223a339b3225 (diff) |
loplugin:returnconstant in SwChartDataProvider
Change-Id: Ia9dc1f9c5a02162359c1fe6e65f21ae5dede7702
Reviewed-on: https://gerrit.libreoffice.org/58965
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | sw/inc/unochart.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx index cbbe98b235cb..e3e413420217 100644 --- a/sw/inc/unochart.hxx +++ b/sw/inc/unochart.hxx @@ -176,7 +176,7 @@ public: // will send modified events for all data-sequences of the table void InvalidateTable( const SwTable *pTable ); - bool DeleteBox( const SwTable *pTable, const SwTableBox &rBox ); + void DeleteBox( const SwTable *pTable, const SwTableBox &rBox ); void DisposeAllDataSequences( const SwTable *pTable ); // functionality needed to get notified about new added rows/cols diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index 614e675d432c..6c64ef2441ae 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -1488,7 +1488,7 @@ void SwChartDataProvider::InvalidateTable( const SwTable *pTable ) } } -bool SwChartDataProvider::DeleteBox( const SwTable *pTable, const SwTableBox &rBox ) +void SwChartDataProvider::DeleteBox( const SwTable *pTable, const SwTableBox &rBox ) { OSL_ENSURE( pTable, "table pointer is NULL" ); if (pTable) @@ -1541,7 +1541,6 @@ bool SwChartDataProvider::DeleteBox( const SwTable *pTable, const SwTableBox &rB } } } - return false; } void SwChartDataProvider::DisposeAllDataSequences( const SwTable *pTable ) |