summaryrefslogtreecommitdiff
path: root/padmin/source/pamain.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-12-17 14:29:43 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-12-17 14:29:43 +0000
commit95604cd8b31a2b2088c900a09bfbf5fb48fef7cf (patch)
tree039cd8dc45329096637ead52348203ff94ebb207 /padmin/source/pamain.cxx
parentd2158d82d8b0428ab53622b7dd13dd7dcc446d55 (diff)
INTEGRATION: CWS geordi2q11 (1.5.68); FILE MERGED
2003/12/15 16:13:43 hr 1.5.68.1: #111934#: join CWS gnomeaccpp1r1
Diffstat (limited to 'padmin/source/pamain.cxx')
-rw-r--r--padmin/source/pamain.cxx17
1 files changed, 15 insertions, 2 deletions
diff --git a/padmin/source/pamain.cxx b/padmin/source/pamain.cxx
index 4a44289dd208..0d0523d15507 100644
--- a/padmin/source/pamain.cxx
+++ b/padmin/source/pamain.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pamain.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: vg $ $Date: 2003-04-15 17:22:16 $
+ * last change: $Author: vg $ $Date: 2003-12-17 15:29:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -141,6 +141,19 @@ void MyApp::Main()
Reference< XMultiServiceFactory > xFactory( xCtx->getServiceManager(), UNO_QUERY );
if( xFactory.is() )
setProcessServiceFactory( xFactory );
+
+ /*
+ * Initialize the Java UNO AccessBridge if accessibility is turned on
+ */
+
+ if( Application::GetSettings().GetMiscSettings().GetEnableATToolSupport() )
+ {
+ BOOL bQuitApp;
+ if( !InitAccessBridge( true, bQuitApp ) )
+ if( bQuitApp )
+ return;
+ }
+
/*
* Create UCB.
*/