summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-06-19 06:20:37 +0000
committerMathias Bauer <mba@openoffice.org>2001-06-19 06:20:37 +0000
commit159a719017c8a042d804b02e4950be120cfbf8e8 (patch)
treedc253ffd9ee5e1541a2db8a945c99cb653e30e1a /sfx2
parent87f6304e411aebaf19036df2bde12d5408e13602 (diff)
#87300#: static function to access SfxHelp
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfxhelp.hxx6
-rw-r--r--sfx2/source/appl/sfxhelp.cxx9
2 files changed, 11 insertions, 4 deletions
diff --git a/sfx2/inc/sfxhelp.hxx b/sfx2/inc/sfxhelp.hxx
index 54cb3edbafa1..85b2c0b3326b 100644
--- a/sfx2/inc/sfxhelp.hxx
+++ b/sfx2/inc/sfxhelp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sfxhelp.hxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: mba $ $Date: 2001-06-18 15:38:05 $
+ * last change: $Author: mba $ $Date: 2001-06-19 07:18:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -84,6 +84,8 @@ private:
String GetHelpModuleName( ULONG nHelpId );
public:
+
+ static SfxHelp* GetHelp();
SfxHelp();
~SfxHelp();
void SetTicket( const String& rTicket )
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 74fc6ad8b57a..b2c32d7ec134 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sfxhelp.cxx,v $
*
- * $Revision: 1.33 $
+ * $Revision: 1.34 $
*
- * last change: $Author: mba $ $Date: 2001-06-18 15:38:48 $
+ * last change: $Author: mba $ $Date: 2001-06-19 07:20:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -605,3 +605,8 @@ void SfxHelp::OpenHelpAgent( SfxFrame *pFrame, ULONG nHelpId )
DBG_ASSERT( sal_False, "OpenHelpAgent: caught an exception while executing the dispatch!" );
}
}
+
+SfxHelp* SfxHelp::GetHelp()
+{
+ return (SfxHelp*) Application::GetHelp();
+}