summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-15 10:41:58 +0200
committerNoel Grandin <noel@peralex.com>2014-10-15 10:42:50 +0200
commit872036c8e2e4a098a528a7f0083201433786d331 (patch)
tree1045624313866c349e12cfd81eb72abe8952b910 /include/sfx2
parent948afbaf3901909a62f06a73698a6172d3bc6d45 (diff)
remove unused DECL_OBJHINT and IMPL_OBJHINT macros
these have been unused since we switch to using normal C++ RTTI with the SfxHint subclasses Change-Id: Ia271cfa01d2f49ed335e90f78309cd26d6ec9d8f
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/app.hxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 8017757af96b..5993561ac0fe 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -116,7 +116,17 @@ public:
//TODO/CLEANUP
//is apparently used only in SfxPickList/SfxFrameLoader
-DECL_OBJHINT( SfxStringHint, OUString );
+class SfxStringHint: public SfxSimpleHint
+{
+ OUString aObj;
+
+public:
+ SfxStringHint( sal_uInt16 nId, const OUString& rObject ):
+ SfxSimpleHint( nId ),
+ aObj(rObject) { }
+ const OUString& GetObject() const { return aObj; }
+ virtual ~SfxStringHint() {}
+};
#ifndef SFX_DECL_OBJECTSHELL_DEFINED
#define SFX_DECL_OBJECTSHELL_DEFINED