diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /ucb/source/ucp | |
parent | kdefilepicker is autoinstalled now (diff) | |
download | core-184a00b96235f6432294ded63ce4a4a318effdb5.tar.gz core-184a00b96235f6432294ded63ce4a4a318effdb5.zip |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/file/filinpstr.cxx | 14 | ||||
-rw-r--r-- | ucb/source/ucp/file/filinpstr.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrset.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrset.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filstr.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filstr.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpintreq.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpintreq.hxx | 2 |
8 files changed, 7 insertions, 41 deletions
diff --git a/ucb/source/ucp/file/filinpstr.cxx b/ucb/source/ucp/file/filinpstr.cxx index bb5bf134cdc1..89f7f56b7a9c 100644 --- a/ucb/source/ucp/file/filinpstr.cxx +++ b/ucb/source/ucp/file/filinpstr.cxx @@ -73,20 +73,6 @@ XInputStream_impl::~XInputStream_impl() } -sal_Int32 SAL_CALL XInputStream_impl::CtorSuccess() -{ - return m_nErrorCode; -}; - - - -sal_Int32 SAL_CALL XInputStream_impl::getMinorError() -{ - return m_nMinorErrorCode; -} - - - // XTypeProvider diff --git a/ucb/source/ucp/file/filinpstr.hxx b/ucb/source/ucp/file/filinpstr.hxx index 5acb3bc05cd7..389735666130 100644 --- a/ucb/source/ucp/file/filinpstr.hxx +++ b/ucb/source/ucp/file/filinpstr.hxx @@ -53,8 +53,8 @@ namespace fileaccess { * Returns an error code as given by filerror.hxx */ - sal_Int32 SAL_CALL CtorSuccess(); - sal_Int32 SAL_CALL getMinorError(); + sal_Int32 SAL_CALL CtorSuccess() { return m_nErrorCode;} + sal_Int32 SAL_CALL getMinorError() { return m_nMinorErrorCode;} // XTypeProvider diff --git a/ucb/source/ucp/file/filrset.cxx b/ucb/source/ucp/file/filrset.cxx index d847271ddf81..386218254f21 100644 --- a/ucb/source/ucp/file/filrset.cxx +++ b/ucb/source/ucp/file/filrset.cxx @@ -93,17 +93,9 @@ XResultSet_impl::~XResultSet_impl() -sal_Int32 SAL_CALL XResultSet_impl::CtorSuccess() -{ - return m_nErrorCode; -} -sal_Int32 SAL_CALL XResultSet_impl::getMinorError() -{ - return m_nMinorErrorCode; -} void SAL_CALL diff --git a/ucb/source/ucp/file/filrset.hxx b/ucb/source/ucp/file/filrset.hxx index 531f95cb8d18..d60eff191276 100644 --- a/ucb/source/ucp/file/filrset.hxx +++ b/ucb/source/ucp/file/filrset.hxx @@ -93,8 +93,8 @@ class XResultSet_impl : public Notifier, return m_aBaseDirectory; } - sal_Int32 SAL_CALL CtorSuccess(); - sal_Int32 SAL_CALL getMinorError(); + sal_Int32 SAL_CALL CtorSuccess() { return m_nErrorCode;} + sal_Int32 SAL_CALL getMinorError() { return m_nMinorErrorCode;} // XEventListener virtual void SAL_CALL diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx index 7ee9408919d7..bd8ee9ba3220 100644 --- a/ucb/source/ucp/file/filstr.cxx +++ b/ucb/source/ucp/file/filstr.cxx @@ -84,17 +84,9 @@ XStream_impl::~XStream_impl() } -sal_Int32 SAL_CALL XStream_impl::CtorSuccess() -{ - return m_nErrorCode; -} -sal_Int32 SAL_CALL XStream_impl::getMinorError() -{ - return m_nMinorErrorCode; -} diff --git a/ucb/source/ucp/file/filstr.hxx b/ucb/source/ucp/file/filstr.hxx index 12968c9febe2..66e2b9878f61 100644 --- a/ucb/source/ucp/file/filstr.hxx +++ b/ucb/source/ucp/file/filstr.hxx @@ -55,8 +55,8 @@ class XStream_impl : public cppu::WeakImplHelper6< * Returns an error code as given by filerror.hxx */ - sal_Int32 SAL_CALL CtorSuccess(); - sal_Int32 SAL_CALL getMinorError(); + sal_Int32 SAL_CALL CtorSuccess() { return m_nErrorCode;} + sal_Int32 SAL_CALL getMinorError() { return m_nMinorErrorCode;} virtual ~XStream_impl(); diff --git a/ucb/source/ucp/ftp/ftpintreq.cxx b/ucb/source/ucp/ftp/ftpintreq.cxx index f2e6beb5d869..59bc54cec1c8 100644 --- a/ucb/source/ucp/ftp/ftpintreq.cxx +++ b/ucb/source/ucp/ftp/ftpintreq.cxx @@ -44,10 +44,6 @@ void SAL_CALL XInteractionApproveImpl::select() } -bool XInteractionApproveImpl::isSelected() const -{ - return m_bSelected; -} // XInteractionDisapproveImpl diff --git a/ucb/source/ucp/ftp/ftpintreq.hxx b/ucb/source/ucp/ftp/ftpintreq.hxx index 28198c7de0ba..51d117781ec9 100644 --- a/ucb/source/ucp/ftp/ftpintreq.hxx +++ b/ucb/source/ucp/ftp/ftpintreq.hxx @@ -44,7 +44,7 @@ namespace ftp { throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - bool isSelected() const; + bool isSelected() const { return m_bSelected;} private: |