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 /extensions/source/propctrlr | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r-- | extensions/source/propctrlr/commoncontrol.cxx | 8 | ||||
-rw-r--r-- | extensions/source/propctrlr/commoncontrol.hxx | 4 | ||||
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.cxx | 4 | ||||
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.hxx | 2 |
4 files changed, 3 insertions, 15 deletions
diff --git a/extensions/source/propctrlr/commoncontrol.cxx b/extensions/source/propctrlr/commoncontrol.cxx index 4af9c7f4e95d..23da15b73726 100644 --- a/extensions/source/propctrlr/commoncontrol.cxx +++ b/extensions/source/propctrlr/commoncontrol.cxx @@ -56,10 +56,6 @@ namespace pcr } - ::sal_Int16 SAL_CALL ControlHelper::getControlType() throw (RuntimeException) - { - return m_nControlType; - } Reference< XPropertyControlContext > SAL_CALL ControlHelper::getControlContext() throw (RuntimeException) @@ -80,10 +76,6 @@ namespace pcr } - bool SAL_CALL ControlHelper::isModified( ) throw (RuntimeException) - { - return m_bModified; - } void SAL_CALL ControlHelper::notifyModifiedValue( ) throw (RuntimeException) diff --git a/extensions/source/propctrlr/commoncontrol.hxx b/extensions/source/propctrlr/commoncontrol.hxx index 9be15b7f15a9..7eab623cf99e 100644 --- a/extensions/source/propctrlr/commoncontrol.hxx +++ b/extensions/source/propctrlr/commoncontrol.hxx @@ -131,11 +131,11 @@ namespace pcr public: // XPropertyControl - ::sal_Int16 SAL_CALL getControlType() throw (::com::sun::star::uno::RuntimeException); + ::sal_Int16 SAL_CALL getControlType() throw (::com::sun::star::uno::RuntimeException) { return m_nControlType; } ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext > SAL_CALL getControlContext() throw (::com::sun::star::uno::RuntimeException); void SAL_CALL setControlContext( const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext >& _controlcontext ) throw (::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL getControlWindow() throw (::com::sun::star::uno::RuntimeException); - bool SAL_CALL isModified( ) throw (::com::sun::star::uno::RuntimeException); + bool SAL_CALL isModified( ) throw (::com::sun::star::uno::RuntimeException) { return m_bModified; } void SAL_CALL notifyModifiedValue( ) throw (::com::sun::star::uno::RuntimeException); // XComponent diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx index c302e44fa273..364d07ff7ba9 100644 --- a/extensions/source/propctrlr/propertyeditor.cxx +++ b/extensions/source/propctrlr/propertyeditor.cxx @@ -336,10 +336,6 @@ namespace pcr } - bool OPropertyEditor::HasHelpSection() const - { - return m_bHasHelpSection; - } void OPropertyEditor::SetHelpText( const OUString& _rHelpText ) diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx index 85aad9e79232..e80dceeffdd2 100644 --- a/extensions/source/propctrlr/propertyeditor.hxx +++ b/extensions/source/propctrlr/propertyeditor.hxx @@ -82,7 +82,7 @@ namespace pcr void SetControlObserver( IPropertyControlObserver* ); void EnableHelpSection( bool _bEnable ); - bool HasHelpSection() const; + bool HasHelpSection() const { return m_bHasHelpSection; } void SetHelpText( const OUString& _rHelpText ); void SetHelpLineLimites( sal_Int32 _nMinLines, sal_Int32 _nMaxLines ); |