diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-13 10:58:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-13 12:16:23 +0200 |
commit | 139c2e8cbde7e176d184c46583d1b78ef851515a (patch) | |
tree | 1df9c43c20ceaf4a461d9291e7359ddfde129adb /svx/source/form/fmsrcimp.cxx | |
parent | 6cbf151fa91ce50f7b1582c6e502a4474ba54b8e (diff) |
loplugin:unusedmethods unused return value in include/svx
Change-Id: I9a5e937905fd71ecbbf9cb215ff6cc2b7defc6f3
Diffstat (limited to 'svx/source/form/fmsrcimp.cxx')
-rw-r--r-- | svx/source/form/fmsrcimp.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index 519dced6d46c..1d35cfa6d364 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -106,15 +106,12 @@ FmRecordCountListener::FmRecordCountListener(const Reference< css::sdbc::XResult } -Link<sal_Int32,void> FmRecordCountListener::SetPropChangeHandler(const Link<sal_Int32,void>& lnk) +void FmRecordCountListener::SetPropChangeHandler(const Link<sal_Int32,void>& lnk) { - Link<sal_Int32,void> lnkReturn = m_lnkWhoWantsToKnow; m_lnkWhoWantsToKnow = lnk; if (m_xListening.is()) NotifyCurrentCount(); - - return lnkReturn; } @@ -1131,12 +1128,12 @@ void FmSearchEngine::CancelSearch() } -bool FmSearchEngine::SwitchToContext(const Reference< css::sdbc::XResultSet > & xCursor, const OUString& sVisibleFields, const InterfaceArray& arrFields, +void FmSearchEngine::SwitchToContext(const Reference< css::sdbc::XResultSet > & xCursor, const OUString& sVisibleFields, const InterfaceArray& arrFields, sal_Int32 nFieldIndex) { DBG_ASSERT(!m_bSearchingCurrently, "FmSearchEngine::SwitchToContext : please do not call while I'm searching !"); if (m_bSearchingCurrently) - return false; + return; m_xSearchCursor = xCursor; m_xOriginalIterator = xCursor; @@ -1147,8 +1144,6 @@ bool FmSearchEngine::SwitchToContext(const Reference< css::sdbc::XResultSet > & Init(sVisibleFields); RebuildUsedFields(nFieldIndex, true); - - return true; } |