summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-28 11:46:27 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-28 11:48:14 +0200
commit2c38ea6d16b910294220cefaf8ae6a0683e6405a (patch)
tree0c541b169af5ad81c5ab70b05cbe02ca18178be1 /desktop
parent51f50a0dee2867b0f9e3f869e5fbe14923fcef3a (diff)
Building without --with-help is not supposed to disable help functionality
Drop HAVE_FEATURE_HELP. Just check HAVE_FEATURE_DESKTOP instead in the few places in the code where HAVE_FEATURE_HELP had been introduced so far. It's only for the non-desktop platforms that leaving out the traditional help functionality is intended anyway. Change-Id: I2d05869267f509a8e64cf402eed8ebef0020cada
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/registry/help/dp_help.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx
index 35c798e52b35..7510714316f8 100644
--- a/desktop/source/deployment/registry/help/dp_help.cxx
+++ b/desktop/source/deployment/registry/help/dp_help.cxx
@@ -32,7 +32,7 @@
#include "uno/current_context.hxx"
#include "unotools/pathoptions.hxx"
-#if HAVE_FEATURE_HELP
+#if HAVE_FEATURE_DESKTOP
#include <helpcompiler/compilehelp.hxx>
#include <helpcompiler/HelpIndexer.hxx>
#endif
@@ -387,7 +387,7 @@ void BackendImpl::implProcessHelp(
data.dataUrl = xPackage->getURL();
if (!package->extensionContainsCompiledHelp())
{
-#if HAVE_FEATURE_HELP
+#if HAVE_FEATURE_DESKTOP
const OUString sHelpFolder = createFolder(OUString(), xCmdEnv);
data.dataUrl = sHelpFolder;