From 3e82897353e576dc6e3fbf55371fda5a0c3415df Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Jun 2014 14:06:28 +0200 Subject: improve the inlinesimplememberfunctions clang plugin Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e --- UnoControls/inc/basecontrol.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'UnoControls/inc/basecontrol.hxx') diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx index 19eaa52e97e4..303508597304 100644 --- a/UnoControls/inc/basecontrol.hxx +++ b/UnoControls/inc/basecontrol.hxx @@ -515,17 +515,17 @@ protected: /**_______________________________________________________________________________________________________ */ - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > impl_getComponentContext(); + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > impl_getComponentContext() { return m_xComponentContext;} /**_______________________________________________________________________________________________________ */ - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > impl_getPeerWindow(); + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > impl_getPeerWindow() { return m_xPeerWindow;} /**_______________________________________________________________________________________________________ */ - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > impl_getGraphicsPeer(); + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > impl_getGraphicsPeer() { return m_xGraphicsPeer;} /**_______________________________________________________________________________________________________ */ @@ -559,7 +559,7 @@ protected: /**_______________________________________________________________________________________________________ */ - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > impl_getDelegator(); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > impl_getDelegator() { return m_xDelegator;} // private methods -- cgit