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 /sc/inc | |
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 'sc/inc')
-rw-r--r-- | sc/inc/brdcst.hxx | 3 | ||||
-rw-r--r-- | sc/inc/drwlayer.hxx | 2 | ||||
-rw-r--r-- | sc/inc/hints.hxx | 8 | ||||
-rw-r--r-- | sc/inc/unoreflist.hxx | 1 |
4 files changed, 0 insertions, 14 deletions
diff --git a/sc/inc/brdcst.hxx b/sc/inc/brdcst.hxx index d63bb2c6b169..a11ebbd4e5d4 100644 --- a/sc/inc/brdcst.hxx +++ b/sc/inc/brdcst.hxx @@ -22,7 +22,6 @@ #include "global.hxx" #include "address.hxx" #include "simplehintids.hxx" -#include <tools/rtti.hxx> #include <svl/hint.hxx> class SvtBroadcaster; @@ -32,7 +31,6 @@ class ScHint : public SfxSimpleHint ScAddress aAddress; public: - TYPEINFO_OVERRIDE(); ScHint( sal_uLong n, const ScAddress& a ); const ScAddress& GetAddress() const { return aAddress; } ScAddress& GetAddress() { return aAddress; } @@ -44,7 +42,6 @@ class ScAreaChangedHint : public SfxHint private: ScRange aNewRange; public: - TYPEINFO_OVERRIDE(); ScAreaChangedHint(const ScRange& rRange) : aNewRange(rRange) {} const ScRange& GetRange() const { return aNewRange; } }; diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx index bece16b7ae5e..40096d936aa1 100644 --- a/sc/inc/drwlayer.hxx +++ b/sc/inc/drwlayer.hxx @@ -40,7 +40,6 @@ class ScTabDeletedHint : public SfxHint private: SCTAB nTab; public: - TYPEINFO_OVERRIDE(); ScTabDeletedHint( SCTAB nTabNo = SCTAB_MAX ); virtual ~ScTabDeletedHint(); @@ -52,7 +51,6 @@ class ScTabSizeChangedHint : public SfxHint private: SCTAB nTab; public: - TYPEINFO_OVERRIDE(); ScTabSizeChangedHint( SCTAB nTabNo = SCTAB_MAX ); virtual ~ScTabSizeChangedHint(); diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx index 13bde4e5972b..15a0c4dcf9bf 100644 --- a/sc/inc/hints.hxx +++ b/sc/inc/hints.hxx @@ -33,7 +33,6 @@ class ScPaintHint : public SfxHint ScPaintHint(); // disabled public: - TYPEINFO_OVERRIDE(); ScPaintHint( const ScRange& rRng, sal_uInt16 nPaint = PAINT_ALL ); virtual ~ScPaintHint(); @@ -59,8 +58,6 @@ class ScUpdateRefHint : public SfxHint SCsTAB nDz; public: - TYPEINFO_OVERRIDE(); - ScUpdateRefHint( UpdateRefMode eMode, const ScRange& rR, SCsCOL nX, SCsROW nY, SCsTAB nZ ); virtual ~ScUpdateRefHint(); @@ -79,7 +76,6 @@ class ScPointerChangedHint : public SfxHint sal_uInt16 nFlags; public: - TYPEINFO_OVERRIDE(); virtual ~ScPointerChangedHint(); @@ -105,7 +101,6 @@ class ScLinkRefreshedHint : public SfxHint //! also use source data for area links? public: - TYPEINFO_OVERRIDE(); ScLinkRefreshedHint(); virtual ~ScLinkRefreshedHint(); @@ -132,7 +127,6 @@ class ScAutoStyleHint : public SfxHint sal_uLong nTimeout; public: - TYPEINFO_OVERRIDE(); ScAutoStyleHint( const ScRange& rR, const OUString& rSt1, sal_uLong nT, const OUString& rSt2 ); virtual ~ScAutoStyleHint(); @@ -148,7 +142,6 @@ class ScDBRangeRefreshedHint : public SfxHint ScImportParam aParam; public: - TYPEINFO_OVERRIDE(); ScDBRangeRefreshedHint( const ScImportParam& rP ); virtual ~ScDBRangeRefreshedHint(); @@ -160,7 +153,6 @@ class ScDataPilotModifiedHint : public SfxHint OUString maName; public: - TYPEINFO_OVERRIDE(); ScDataPilotModifiedHint( const OUString& rName ); virtual ~ScDataPilotModifiedHint(); diff --git a/sc/inc/unoreflist.hxx b/sc/inc/unoreflist.hxx index 7da2a77cdd72..51f4dc53dc37 100644 --- a/sc/inc/unoreflist.hxx +++ b/sc/inc/unoreflist.hxx @@ -62,7 +62,6 @@ class ScUnoRefUndoHint : public SfxHint ScUnoRefEntry aEntry; public: - TYPEINFO_OVERRIDE(); ScUnoRefUndoHint( const ScUnoRefEntry& rRefEntry ); virtual ~ScUnoRefUndoHint(); |