diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:55:50 +0000 |
commit | 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch) | |
tree | 21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx | |
parent | 7e8806cd728bf906e1a8f1d649bef7337f297b1c (diff) |
Remove redundant 'inline' keyword
...from function definitions occurring within class definitions. Done with
a rewriting Clang plugin (to be pushed later).
Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8
Reviewed-on: https://gerrit.libreoffice.org/34874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx')
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx index 2a13a40b0181..ebcbc95caf72 100644 --- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx @@ -178,21 +178,21 @@ namespace sdr { namespace contact { } public: - inline bool is() const { return m_xControl.is() && m_xControlWindow.is() && m_xControlView.is(); } - inline void clear() { m_xControl.clear(); m_xControlWindow.clear(); m_xControlView.clear(); } + bool is() const { return m_xControl.is() && m_xControlWindow.is() && m_xControlView.is(); } + void clear() { m_xControl.clear(); m_xControlWindow.clear(); m_xControlView.clear(); } // delegators for the methods of the UNO interfaces // Note all those will crash if called for a NULL object. - inline bool isDesignMode() const { return m_xControl->isDesignMode(); } - inline void setDesignMode( const bool _bDesign ) const { m_xControl->setDesignMode( _bDesign ); } - inline bool isVisible() const { return m_xControlWindow->isVisible(); } - inline void setVisible( const bool _bVisible ) const { m_xControlWindow->setVisible( _bVisible ); } - inline Reference< XControlModel > + bool isDesignMode() const { return m_xControl->isDesignMode(); } + void setDesignMode( const bool _bDesign ) const { m_xControl->setDesignMode( _bDesign ); } + bool isVisible() const { return m_xControlWindow->isVisible(); } + void setVisible( const bool _bVisible ) const { m_xControlWindow->setVisible( _bVisible ); } + Reference< XControlModel > getModel() const { return m_xControl->getModel(); } - inline void setModel( const Reference< XControlModel >& _m ) const { m_xControl->setModel( _m ); } + void setModel( const Reference< XControlModel >& _m ) const { m_xControl->setModel( _m ); } - inline void addWindowListener( const Reference< XWindowListener >& _l ) const { m_xControlWindow->addWindowListener( _l ); } - inline void removeWindowListener( const Reference< XWindowListener >& _l ) const { m_xControlWindow->removeWindowListener( _l ); } + void addWindowListener( const Reference< XWindowListener >& _l ) const { m_xControlWindow->addWindowListener( _l ); } + void removeWindowListener( const Reference< XWindowListener >& _l ) const { m_xControlWindow->removeWindowListener( _l ); } void setPosSize( const Rectangle& _rPosSize ) const; Rectangle getPosSize() const; @@ -203,7 +203,7 @@ namespace sdr { namespace contact { void invalidate() const; public: - inline const Reference< XControl >& getControl() const { return m_xControl; } + const Reference< XControl >& getControl() const { return m_xControl; } }; @@ -568,10 +568,10 @@ namespace sdr { namespace contact { If you want to ensure that the control exists before accessing it, use ->ensureControl */ - inline const ControlHolder& + const ControlHolder& getExistentControl() const { return m_aControl; } - inline bool + bool hasControl() const { return m_aControl.is(); } /** positions our XControl according to the geometry settings in the SdrUnoObj, modified by the given @@ -756,7 +756,7 @@ namespace sdr { namespace contact { an SdrPageView (which carries this flag), or somebody explicitly set it from outside. */ - inline bool impl_isControlDesignMode_nothrow() const + bool impl_isControlDesignMode_nothrow() const { DBG_ASSERT( m_eControlDesignMode != eUnknown, "ViewObjectContactOfUnoControl_Impl::impl_isControlDesignMode_nothrow: mode is still unknown!" ); return m_eControlDesignMode == eDesign; |