summaryrefslogtreecommitdiff
path: root/include/com/sun/star/uno/genfunc.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-14 11:45:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-14 13:29:39 +0200
commitc38592527adfc526133c3ac36b10aa77234313ee (patch)
tree0000e8f83527d769899e7b84d104eb93e47b82fd /include/com/sun/star/uno/genfunc.hxx
parent86435f9e28f8e7936777cbd6e8598994e7c42428 (diff)
EXCEPTIONS_OFF is never defined
...since gb_LinkTarget_NOEXCEPTIONFLAGS became unused with e81b1f23c49e35c1cde1faa44281812e97be60f5 "remove gb_LinkTarget_add_noexception_object." Change-Id: I4a7275b5b26a9d4b6ded66efb52e6866e6e09cc3
Diffstat (limited to 'include/com/sun/star/uno/genfunc.hxx')
-rw-r--r--include/com/sun/star/uno/genfunc.hxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/com/sun/star/uno/genfunc.hxx b/include/com/sun/star/uno/genfunc.hxx
index d523123733e4..179f676d1afe 100644
--- a/include/com/sun/star/uno/genfunc.hxx
+++ b/include/com/sun/star/uno/genfunc.hxx
@@ -50,10 +50,8 @@ inline void * SAL_CALL cpp_queryInterface( void * pCppI, typelib_TypeDescription
{
if (pCppI)
{
-#ifndef EXCEPTIONS_OFF
try
{
-#endif
Any aRet( reinterpret_cast< XInterface * >( pCppI )->queryInterface(
* reinterpret_cast< const Type * >( &pType ) ) );
if (typelib_TypeClass_INTERFACE == aRet.pType->eTypeClass)
@@ -62,12 +60,10 @@ inline void * SAL_CALL cpp_queryInterface( void * pCppI, typelib_TypeDescription
aRet.pReserved = 0;
return pRet;
}
-#ifndef EXCEPTIONS_OFF
}
catch (RuntimeException &)
{
}
-#endif
}
return 0;
}