[Libreoffice-commits] core.git: scripting/source

Stephan Bergmann sbergman at redhat.com
Mon Nov 2 14:31:25 PST 2015


 scripting/source/provider/ScriptImpl.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 6ccf68622e51c1b727dd042c1c1a71b5d1fd6a12
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 2 23:30:58 2015 +0100

    No need for this debug code
    
    Change-Id: I05a6d15a0c54ca5457d662c2467cb15c14991a0a

diff --git a/scripting/source/provider/ScriptImpl.cxx b/scripting/source/provider/ScriptImpl.cxx
index 0741590..5fa3d5e 100644
--- a/scripting/source/provider/ScriptImpl.cxx
+++ b/scripting/source/provider/ScriptImpl.cxx
@@ -92,13 +92,6 @@ throw ( lang::IllegalArgumentException, script::CannotConvertException,
         OUString temp = "ScriptImpl::invoke RuntimeException : ";
         throw RuntimeException( temp.concat( re.Message ) );
     }
-#ifdef _DEBUG
-    catch ( ... )
-    {
-        throw RuntimeException(
-            "ScriptImpl::invoke Unknown Exception caught - RuntimeException rethrown" );
-    }
-#endif
     return result;
 }
 } // namespace func_provider


More information about the Libreoffice-commits mailing list