diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-11 08:39:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-11 10:49:24 +0200 |
commit | 6fc3fd29a6d08ee85d3ed5a3bad5de754f568314 (patch) | |
tree | a76c62a18f860863d94652400688d64660b72ad0 /chart2/source/controller/dialogs/res_ErrorBar.cxx | |
parent | bc80f951c14208eae6060fe2e6a941f9dd2d619c (diff) |
loplugin:unusedmethods unused return value in chart2
Change-Id: Ibd8ae8ade2a1037deac1e29ce1b867c2847a9dff
Diffstat (limited to 'chart2/source/controller/dialogs/res_ErrorBar.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/res_ErrorBar.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index 2837307c6dbe..bbd04907378e 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -719,7 +719,7 @@ void ErrorBarResources::disposingRangeSelection() m_apRangeSelectionHelper->stopRangeListening( false ); } -bool ErrorBarResources::isRangeFieldContentValid( Edit & rEdit ) +void ErrorBarResources::isRangeFieldContentValid( Edit & rEdit ) { OUString aRange( rEdit.GetText()); bool bIsValid = ( aRange.isEmpty() ) || @@ -736,8 +736,6 @@ bool ErrorBarResources::isRangeFieldContentValid( Edit & rEdit ) rEdit.SetControlBackground( RANGE_SELECTION_INVALID_RANGE_BACKGROUND_COLOR ); rEdit.SetControlForeground( RANGE_SELECTION_INVALID_RANGE_FOREGROUND_COLOR ); } - - return bIsValid; } } //namespace chart |