You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by tr...@apache.org on 2016/08/31 15:48:05 UTC

svn commit: r1758630 - /openoffice/trunk/main/cppuhelper/source/exc_thrower.cxx

Author: truckman
Date: Wed Aug 31 15:48:05 2016
New Revision: 1758630

URL: http://svn.apache.org/viewvc?rev=1758630&view=rev
Log:
In ExceptionThrower::throwException(), call ::cppu::throwException()
instead of recursing infinitely.


Modified:
    openoffice/trunk/main/cppuhelper/source/exc_thrower.cxx

Modified: openoffice/trunk/main/cppuhelper/source/exc_thrower.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cppuhelper/source/exc_thrower.cxx?rev=1758630&r1=1758629&r2=1758630&view=diff
==============================================================================
--- openoffice/trunk/main/cppuhelper/source/exc_thrower.cxx (original)
+++ openoffice/trunk/main/cppuhelper/source/exc_thrower.cxx Wed Aug 31 15:48:05 2016
@@ -166,7 +166,7 @@ void ExceptionThrower::release() throw (
 void ExceptionThrower::throwException( Any const & exc ) throw (Exception)
 {
     OSL_ENSURE( 0, "unexpected!" );
-    throwException( exc );
+    ::cppu::throwException( exc );
 }
 
 //______________________________________________________________________________