diff options
Diffstat (limited to 'padmin/source/pamain.cxx')
-rw-r--r-- | padmin/source/pamain.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/padmin/source/pamain.cxx b/padmin/source/pamain.cxx index 16968a843a83..352b54b1bf82 100644 --- a/padmin/source/pamain.cxx +++ b/padmin/source/pamain.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -59,9 +59,9 @@ using namespace comphelper; class MyApp : public Application { public: - void Main(); - virtual USHORT Exception( USHORT nError ); - + void Main(); + virtual USHORT Exception( USHORT nError ); + static void ReadStringHook( String& ); }; @@ -114,7 +114,7 @@ void MyApp::Main() catch( com::sun::star::uno::Exception& rExc) { } - + if( ! xFactory.is() ) { fprintf( stderr, "Could not bootstrap UNO, installation must be in disorder. Exiting.\n" ); @@ -126,7 +126,7 @@ void MyApp::Main() new DesktopContext( com::sun::star::uno::getCurrentContext() ) ); /* - * Create UCB. + * Create UCB. */ Sequence< Any > aArgs( 2 ); aArgs[ 0 ] <<= OUString::createFromAscii( UCB_CONFIGURATION_KEY1_LOCAL ); @@ -143,11 +143,11 @@ void MyApp::Main() exit( 1 ); } #endif - + /* - * Initialize the Java UNO AccessBridge if accessibility is turned on + * Initialize the Java UNO AccessBridge if accessibility is turned on */ - + if( Application::GetSettings().GetMiscSettings().GetEnableATToolSupport() ) { BOOL bQuitApp; @@ -158,7 +158,7 @@ void MyApp::Main() // initialize test-tool library (if available) tools::InitTestToolLib(); - + ResMgr::SetReadStringHook( MyApp::ReadStringHook ); pPADialog = PADialog::Create( NULL , FALSE ); |