summaryrefslogtreecommitdiff
path: root/vcl/source/uipreviewer/previewer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/uipreviewer/previewer.cxx')
-rw-r--r--vcl/source/uipreviewer/previewer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/uipreviewer/previewer.cxx b/vcl/source/uipreviewer/previewer.cxx
index 5a099749cc4d..e18730bc3156 100644
--- a/vcl/source/uipreviewer/previewer.cxx
+++ b/vcl/source/uipreviewer/previewer.cxx
@@ -36,6 +36,7 @@
#include <ucbhelper/contentbroker.hxx>
#include <vcl/builder.hxx>
#include <vcl/dialog.hxx>
+#include <vcl/help.hxx>
#include <vcl/svapp.hxx>
class UIPreviewApp : public Application
@@ -76,6 +77,9 @@ int UIPreviewApp::Main()
aArgs[ 1 ] <<= rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(UCB_CONFIGURATION_KEY2_OFFICE));
::ucbhelper::ContentBroker::initialize(xSFactory, aArgs);
+ // turn on tooltips
+ Help::EnableQuickHelp();
+
try
{
Dialog *pDialog = new Dialog(NULL, WB_STDDIALOG);