summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" );