summaryrefslogtreecommitdiff
path: root/vcl/source/uipreviewer
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-18 14:38:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:32 +0100
commit90b4587de53164158d3ad94f981e9ce9f310842d (patch)
treec68ad6ae31b14d6fc2bd66d34da2e62ae3057e12 /vcl/source/uipreviewer
parenta27550dc9a7622e105aa87bb3ffff2036cfd52b9 (diff)
hook up tooltips
Diffstat (limited to 'vcl/source/uipreviewer')
-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);