diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-27 16:57:21 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-09-06 15:47:44 -0500 |
commit | 5bce32904091ffe28884fd5c0f4801ee82bad101 (patch) | |
tree | fc2573078a858de456a0dc7b7810176d433241c7 /include/sfx2/event.hxx | |
parent | 10143717834d8401d85fdf9564e782a58b9983ec (diff) |
SfxHint: convert home-grown RTTI to normal C++ RTTI
Also note that I fixed a bug in SvxFontMenuControl::Notify
where the if statement had the check the wrong way around.
Change-Id: I611e8929c65818191e36bd80f2b985820ada4411
Reviewed-on: https://gerrit.libreoffice.org/11147
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/sfx2/event.hxx')
-rw-r--r-- | include/sfx2/event.hxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/sfx2/event.hxx b/include/sfx2/event.hxx index be335ebf95b7..5b4970d571e4 100644 --- a/include/sfx2/event.hxx +++ b/include/sfx2/event.hxx @@ -42,7 +42,6 @@ class SFX2_DLLPUBLIC SfxEventHint : public SfxHint sal_uInt16 nEventId; public: - TYPEINFO_OVERRIDE(); SfxEventHint( sal_uInt16 nId, const OUString& aName, SfxObjectShell *pObj = 0 ) : pObjShell(pObj), aEventName(aName), @@ -66,8 +65,6 @@ class SFX2_DLLPUBLIC SfxViewEventHint : public SfxEventHint ::com::sun::star::uno::Reference< css::frame::XController2 > xViewController; public: - TYPEINFO_OVERRIDE(); - SfxViewEventHint( sal_uInt16 nId, const OUString& aName, SfxObjectShell *pObj, const css::uno::Reference< css::frame::XController >& xController ) : SfxEventHint( nId, aName, pObj ) , xViewController( xController, css::uno::UNO_QUERY ) @@ -91,8 +88,6 @@ class SfxNamedHint : public SfxHint OUString _aArgs; public: - TYPEINFO_OVERRIDE(); - SfxNamedHint( const OUString& rName, const OUString& rArgs, SfxObjectShell *pObj = 0 ) @@ -119,8 +114,6 @@ class SfxPrintingHint : public SfxViewEventHint sal_Int32 mnPrintableState; com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > aOpts; public: - TYPEINFO_OVERRIDE(); - SfxPrintingHint( sal_Int32 nEvent, const css::uno::Sequence < css::beans::PropertyValue >& rOpts, @@ -141,7 +134,7 @@ public: {} sal_Int32 GetWhich() const { return mnPrintableState; } - const css::uno::Sequence < css::beans::PropertyValue >& GetOptions() { return aOpts; } + const css::uno::Sequence < css::beans::PropertyValue >& GetOptions() const { return aOpts; } }; #endif |