summaryrefslogtreecommitdiff
path: root/padmin/source/pamain.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-06-17 10:48:26 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-06-17 10:48:26 +0000
commit25459bae7cf851279d111404ab22ec065a948611 (patch)
treefbd7cadab59c5e6def2754099161b1ac06efac4b /padmin/source/pamain.cxx
parent1a989dcf32ff23640a355570a1f8477d9a3c6b3b (diff)
INTEGRATION: CWS gh6 (1.6.14); FILE MERGED
2004/05/12 11:31:59 gh 1.6.14.1: #111796#make spadmin testable by testtool
Diffstat (limited to 'padmin/source/pamain.cxx')
-rw-r--r--padmin/source/pamain.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/padmin/source/pamain.cxx b/padmin/source/pamain.cxx
index 8d859abc7455..d79369a8f6b0 100644
--- a/padmin/source/pamain.cxx
+++ b/padmin/source/pamain.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pamain.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: obo $ $Date: 2004-03-18 12:13:00 $
+ * last change: $Author: rt $ $Date: 2004-06-17 11:48:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,9 @@
#include <stdio.h>
#include <unistd.h>
+#ifndef _TOOLS_TESTTOOLLOADER_HXX_
+#include <tools/testtoolloader.hxx>
+#endif
#ifndef _SV_SVAPP_HXX
#include <vcl/svapp.hxx>
#endif
@@ -134,6 +137,8 @@ void MyApp::Main()
{
PADialog* pPADialog;
+ EnableAutoHelpId();
+
//-------------------------------------------------
// create the global service-manager
//-------------------------------------------------
@@ -176,11 +181,16 @@ void MyApp::Main()
#endif
+ // initialize test-tool library (if available)
+ tools::InitTestToolLib();
+
pPADialog = PADialog::Create( NULL , FALSE );
Application::SetDisplayName( pPADialog->GetText() );
pPADialog->Execute();
delete pPADialog;
+ tools::DeInitTestToolLib();
+
/*
* clean up UCB
*/