summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-14 19:12:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-14 19:12:52 +0200
commit0cc522175e1a6519b5bb8d3ac946ad7395c8803b (patch)
tree4f66fac2d8f683d9ff1350d5afeed6e497708380 /ucbhelper
parentdfc68037328fbc1ec45d18b25822b59a2134285a (diff)
Attempt to fix Android-only code
Change-Id: I391e08c2712a51fe0adcd3f0c74d779b07c31c76
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/contentbroker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucbhelper/source/client/contentbroker.cxx b/ucbhelper/source/client/contentbroker.cxx
index 24cec09b7ea5..4af05c672fe3 100644
--- a/ucbhelper/source/client/contentbroker.cxx
+++ b/ucbhelper/source/client/contentbroker.cxx
@@ -35,13 +35,13 @@ InitUCBHelper()
Reference< XComponentContext > xCtx;
try
{
- Reference< XComponentContext > xCtx = ::cppu::defaultBootstrap_InitialComponentContext();
+ xCtx = ::cppu::defaultBootstrap_InitialComponentContext();
}
catch( Exception& )
{
}
- if( !xFactory.is() )
+ if( !xCtx.is() )
{
fprintf( stderr,
"Could not bootstrap UNO, installation must be in disorder. Exiting.\n" );