diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-06 12:49:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-06 13:55:25 +0100 |
commit | ad16351d9d8fd440bb8941c453b802ad5c109b23 (patch) | |
tree | dfba415e0df4b862c0ecf696904e14bc539fe87a /include/sfx2/sfxhelp.hxx | |
parent | f0e4c91aba989507913d1f88133050409dd109c5 (diff) |
Resolves: rhbz#1438876 detect preferred help module for csv dialog
For calc import before any toplevel is created the context is otherwise
unknown. If a help id starts with a specific module name, then default to that
module name as default help category context. Cosmetic, same help is shown in
any case because its in the shared section, but title bar would state "Writer"
when context is expected to be "Calc"
Change-Id: I3323bc55ef23ec162dad4349efb5e84ec3e8054c
Diffstat (limited to 'include/sfx2/sfxhelp.hxx')
-rw-r--r-- | include/sfx2/sfxhelp.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx index 561b336cfa1a..06da6f412e6c 100644 --- a/include/sfx2/sfxhelp.hxx +++ b/include/sfx2/sfxhelp.hxx @@ -36,7 +36,7 @@ private: SAL_DLLPRIVATE static bool Start_Impl( const OUString& rURL, const vcl::Window* pWindow, const OUString& rKeyword ); SAL_DLLPRIVATE virtual bool SearchKeyword( const OUString& rKeyWord ) override; SAL_DLLPRIVATE virtual bool Start( const OUString& rURL, const vcl::Window* pWindow ) override; - SAL_DLLPRIVATE static OUString GetHelpModuleName_Impl(); + SAL_DLLPRIVATE static OUString GetHelpModuleName_Impl(const OUString &rHelpId); SAL_DLLPRIVATE static OUString CreateHelpURL_Impl( const OUString& aCommandURL, const OUString& rModuleName ); public: |