summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
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