From dee7c8d4f3b0f66675b169a4e20bfa332cb3d088 Mon Sep 17 00:00:00 2001 From: Daniel Boelzle Date: Mon, 19 Aug 2002 12:02:55 +0000 Subject: #102391# fixed exc decl; namespace --- cppu/source/uno/lbenv.cxx | 8 ++++---- cppu/source/uno/lbmap.cxx | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'cppu') diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index d2301143e820..e38b2b4414a5 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -2,9 +2,9 @@ * * $RCSfile: lbenv.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: mh $ $Date: 2002-08-13 15:07:09 $ + * last change: $Author: dbo $ $Date: 2002-08-19 13:02:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -689,7 +689,7 @@ static void writeLine( void * stream, const OUString & rLine, const sal_Char * p //################################################################################################## extern "C" void SAL_CALL uno_dumpEnvironment( void * stream, uno_Environment * pEnv, const sal_Char * pFilter ) - SAL_THROW( () ) + SAL_THROW_EXTERN_C() { OSL_ENSURE( pEnv, "### null ptr!" ); OUStringBuffer buf; @@ -751,7 +751,7 @@ extern "C" void SAL_CALL uno_dumpEnvironment( //################################################################################################## extern "C" void SAL_CALL uno_dumpEnvironmentByName( void * stream, rtl_uString * pEnvTypeName, const sal_Char * pFilter ) - SAL_THROW( () ) + SAL_THROW_EXTERN_C() { uno_Environment * pEnv = 0; uno_getEnvironment( &pEnv, pEnvTypeName, 0 ); diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index ee1818a0da31..e08598e704b3 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -2,9 +2,9 @@ * * $RCSfile: lbmap.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: mh $ $Date: 2002-08-13 15:09:09 $ + * last change: $Author: dbo $ $Date: 2002-08-19 13:02:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -532,6 +532,9 @@ static Mapping getMediateMapping( return Mapping(); } +} + +using namespace ::cppu; extern "C" { @@ -706,4 +709,3 @@ void SAL_CALL uno_revokeMappingCallback( } } // extern "C" -} -- cgit