diff options
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index c4c1735f6418..2158acdcc7fd 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -102,6 +102,8 @@ using namespace ::com::sun::star::util; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::system; +namespace { + class NoHelpErrorBox { private: @@ -122,6 +124,8 @@ public: } }; +} + IMPL_STATIC_LINK_NOARG(NoHelpErrorBox, HelpRequestHdl, weld::Widget&, bool) { // do nothing, because no help available @@ -329,12 +333,16 @@ static bool GetHelpAnchor_Impl( const OUString& _rURL, OUString& _rAnchor ) return bRet; } +namespace { + class SfxHelp_Impl { public: static OUString GetHelpText( const OUString& aCommandURL, const OUString& rModule ); }; +} + OUString SfxHelp_Impl::GetHelpText( const OUString& aCommandURL, const OUString& rModule ) { // create help url @@ -994,6 +1002,8 @@ namespace } } +namespace { + class HelpManualMessage : public weld::MessageDialogController { private: @@ -1013,6 +1023,8 @@ public: bool GetOfflineHelpPopUp() const { return !m_xHideOfflineHelpCB->get_active(); } }; +} + bool SfxHelp::Start_Impl(const OUString& rURL, const vcl::Window* pWindow, const OUString& rKeyword) { OUStringBuffer aHelpRootURL("vnd.sun.star.help://"); |