Kaydet (Commit) 0cc52217 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Attempt to fix Android-only code

Change-Id: I391e08c2712a51fe0adcd3f0c74d779b07c31c76
üst dfc68037
...@@ -35,13 +35,13 @@ InitUCBHelper() ...@@ -35,13 +35,13 @@ InitUCBHelper()
Reference< XComponentContext > xCtx; Reference< XComponentContext > xCtx;
try try
{ {
Reference< XComponentContext > xCtx = ::cppu::defaultBootstrap_InitialComponentContext(); xCtx = ::cppu::defaultBootstrap_InitialComponentContext();
} }
catch( Exception& ) catch( Exception& )
{ {
} }
if( !xFactory.is() ) if( !xCtx.is() )
{ {
fprintf( stderr, fprintf( stderr,
"Could not bootstrap UNO, installation must be in disorder. Exiting.\n" ); "Could not bootstrap UNO, installation must be in disorder. Exiting.\n" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment