[Libreoffice-commits] .: ucbhelper/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 14 10:13:30 PDT 2012


 ucbhelper/source/client/contentbroker.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0cc522175e1a6519b5bb8d3ac946ad7395c8803b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Sep 14 19:12:52 2012 +0200

    Attempt to fix Android-only code
    
    Change-Id: I391e08c2712a51fe0adcd3f0c74d779b07c31c76

diff --git a/ucbhelper/source/client/contentbroker.cxx b/ucbhelper/source/client/contentbroker.cxx
index 24cec09..4af05c6 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" );


More information about the Libreoffice-commits mailing list