diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 19:59:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 19:59:49 +0100 |
commit | f7c8d7655f9e90df2ad79a379d3877e22db08f89 (patch) | |
tree | 4931f7dbbe2ccba67c09bfc8178f0817cb7dd36a /extensions/source/propctrlr | |
parent | 990f52cbbf3a8c3ca95f5b40f0de6e0110aca7b0 (diff) |
Work around MSC "'override' cannot be used with 'inline'" bug
Change-Id: I6eeb47699193ee024e975915011b1c3c5483bf9e
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r-- | extensions/source/propctrlr/commoncontrol.hxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/extensions/source/propctrlr/commoncontrol.hxx b/extensions/source/propctrlr/commoncontrol.hxx index cc3a81dc1d4b..8ff593a72b2a 100644 --- a/extensions/source/propctrlr/commoncontrol.hxx +++ b/extensions/source/propctrlr/commoncontrol.hxx @@ -205,7 +205,8 @@ namespace pcr inline virtual void SAL_CALL disposing(); // IModifyListener - inline virtual void modified() SAL_OVERRIDE; + virtual void modified() SAL_OVERRIDE + { m_aImplControl.setModified(); } /// returns a typed pointer to our control window WindowType* getTypedControlWindow() { return static_cast< WindowType* > ( m_aImplControl.getVclControlWindow() ); } @@ -309,13 +310,6 @@ namespace pcr template< class CONTROL_INTERFACE, class CONTROL_WINDOW > - inline void CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::modified() - { - m_aImplControl.setModified(); - } - - - template< class CONTROL_INTERFACE, class CONTROL_WINDOW > inline void CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::impl_checkDisposed_throw() { if ( ComponentBaseClass::rBHelper.bDisposed ) |