[Libreoffice-commits] .: extensions/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 12 08:16:36 PDT 2012


 extensions/source/ole/oleobjw.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7c805af4d09a96972dc438f87ab2e741c0806633
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Wed Sep 12 15:16:37 2012 +0100

    build fix.

diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index 5228390..88ef336 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -2153,10 +2153,10 @@ Any  IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc,
         case DISP_E_EXCEPTION:
                 message = OUSTR("[automation bridge]: ");
                 message += OUString(reinterpret_cast<const sal_Unicode*>(excepinfo.bstrDescription),
-                    ::SysStringLen(excepinfo.bstrDescription));
+                                    ::SysStringLen(excepinfo.bstrDescription));
 
-                    throw InvocationTargetException(message, Reference<XInterface>(), Any());
-            }
+                throw InvocationTargetException(message, Reference<XInterface>(), Any());
+            break;
         case DISP_E_MEMBERNOTFOUND:
             message = OUSTR("[automation bridge]: A function with the name \"")
                 + sFuncName + OUSTR("\" is not supported. Object returned "


More information about the Libreoffice-commits mailing list