diff options
author | Peter Burow <pb@openoffice.org> | 2001-06-21 07:27:19 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2001-06-21 07:27:19 +0000 |
commit | 21b8dc9f96df1b05f47d9e3256b19aabcd25b5cc (patch) | |
tree | c9797c4dde4ba6d2c688c54e198316a8b14fa6e9 /sfx2/inc/sfxhelp.hxx | |
parent | e8acb9de3224351cfd8f1bcf4596674805298155 (diff) |
fix: #87292# CreateHelpURL() and OpenHelpAgent() now static, GetHelp() removed
Diffstat (limited to 'sfx2/inc/sfxhelp.hxx')
-rw-r--r-- | sfx2/inc/sfxhelp.hxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sfx2/inc/sfxhelp.hxx b/sfx2/inc/sfxhelp.hxx index 85b2c0b3326b..404cac74dcc1 100644 --- a/sfx2/inc/sfxhelp.hxx +++ b/sfx2/inc/sfxhelp.hxx @@ -2,9 +2,9 @@ * * $RCSfile: sfxhelp.hxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: mba $ $Date: 2001-06-19 07:18:52 $ + * last change: $Author: pb $ $Date: 2001-06-21 08:24:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,11 +81,12 @@ class SfxHelp : public Help private: virtual BOOL Start( ULONG nHelpId, const Window* pWindow ); virtual BOOL Start( const String& rURL, const Window* pWindow ); - String GetHelpModuleName( ULONG nHelpId ); + + String GetHelpModuleName_Impl( ULONG nHelpId ); + String CreateHelpURL_Impl( ULONG nHelpId, const String& rModuleName ); public: - static SfxHelp* GetHelp(); SfxHelp(); ~SfxHelp(); void SetTicket( const String& rTicket ) @@ -94,8 +95,9 @@ public: { aUser = rUser;} virtual XubString GetHelpText( ULONG nHelpId, const Window* pWindow ); - void OpenHelpAgent( SfxFrame* pFrame, ULONG nHelpId ); - String CreateHelpURL( ULONG nHelpId, const String& rModuleName ); + + static String CreateHelpURL( ULONG nHelpId, const String& rModuleName ); + static void OpenHelpAgent( SfxFrame* pFrame, ULONG nHelpId ); }; #endif // #ifndef _SFX_HELP_HXX |