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/DialogModel.cxx | |
parent | bc80f951c14208eae6060fe2e6a941f9dd2d619c (diff) |
loplugin:unusedmethods unused return value in chart2
Change-Id: Ibd8ae8ade2a1037deac1e29ce1b867c2847a9dff
Diffstat (limited to 'chart2/source/controller/dialogs/DialogModel.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/DialogModel.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chart2/source/controller/dialogs/DialogModel.cxx b/chart2/source/controller/dialogs/DialogModel.cxx index 9e3d0ae25a10..a6d8dcffd589 100644 --- a/chart2/source/controller/dialogs/DialogModel.cxx +++ b/chart2/source/controller/dialogs/DialogModel.cxx @@ -705,7 +705,7 @@ void DialogModel::startControllerLockTimer() m_aTimerTriggeredControllerLock.startTimer(); } -bool DialogModel::setData( +void DialogModel::setData( const Sequence< beans::PropertyValue > & rArguments ) { m_aTimerTriggeredControllerLock.startTimer(); @@ -716,7 +716,7 @@ bool DialogModel::setData( ! m_xTemplate.is() ) { OSL_FAIL( "Model objects missing" ); - return false; + return; } try @@ -746,10 +746,7 @@ bool DialogModel::setData( catch( const uno::Exception & ex ) { ASSERT_EXCEPTION( ex ); - return false; } - - return true; } void DialogModel::setTimeBasedRange( bool bTimeBased, sal_Int32 nStart, sal_Int32 nEnd) const |