diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-03-19 21:19:47 +0300 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2018-03-20 12:41:15 +0100 |
commit | 8567047218c2f6e01b6525e0996607ad7f928a57 (patch) | |
tree | 14466cdade63f4c46d9efd9a91f9a13fd77822e5 /sfx2/source | |
parent | 6e5a95c34c7d6817389c6d9aeb5206d821963f05 (diff) |
tdf#116494: Don't ask parent if no help text
And add/use an IsHelpInstalled() method to SfxHelp.
Change-Id: Ib87573067d6c44fa5adb22253c1a51a78580acf6
Reviewed-on: https://gerrit.libreoffice.org/51584
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index d924f81e4b2e..d4d55e99ea4b 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -1044,4 +1044,9 @@ OUString SfxHelp::GetCurrentModuleIdentifier() return getCurrentModuleIdentifier_Impl(); } +bool SfxHelp::IsHelpInstalled() +{ + return impl_hasHelpInstalled(); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |