summaryrefslogtreecommitdiff
path: root/include/svl/hint.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-27 16:57:21 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-09-06 15:47:44 -0500
commit5bce32904091ffe28884fd5c0f4801ee82bad101 (patch)
treefc2573078a858de456a0dc7b7810176d433241c7 /include/svl/hint.hxx
parent10143717834d8401d85fdf9564e782a58b9983ec (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/svl/hint.hxx')
-rw-r--r--include/svl/hint.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx
index b2c3ac14d701..70df0743b47a 100644
--- a/include/svl/hint.hxx
+++ b/include/svl/hint.hxx
@@ -20,13 +20,10 @@
#define INCLUDED_SVL_HINT_HXX
#include <svl/svldllapi.h>
-#include <tools/rtti.hxx>
class SVL_DLLPUBLIC SfxHint
{
public:
- TYPEINFO();
-
virtual ~SfxHint();
};
@@ -38,7 +35,6 @@ public:
Type* pObj; \
\
public: \
- TYPEINFO_OVERRIDE(); \
explicit Name( Type* Object ); \
virtual ~Name(); \
\
@@ -46,7 +42,6 @@ public:
}
#define IMPL_PTRHINT(Name, Type) \
- TYPEINIT1(Name, SfxHint); \
Name::Name( Type* pObject ) { pObj = pObject; } \
Name::~Name() {}