From b5175163533e01333a2e103964bef06a56580583 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 25 Feb 2004 16:09:48 +0000 Subject: INTEGRATION: CWS layoutmanager (1.3.32); FILE MERGED 2003/10/29 13:41:33 abi 1.3.32.1: inplace activation --- embedserv/source/embed/servprov.cxx | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'embedserv') diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx index d7f6b6cdce2d..e0601206ac0d 100755 --- a/embedserv/source/embed/servprov.cxx +++ b/embedserv/source/embed/servprov.cxx @@ -2,9 +2,9 @@ * * $RCSfile: servprov.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mav $ $Date: 2003-03-25 08:23:54 $ + * last change: $Author: kz $ $Date: 2004-02-25 17:09:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -179,9 +179,16 @@ EmbedServer_Impl::~EmbedServer_Impl() } // XInterface -------------------------------------------------- -uno::Any SAL_CALL EmbedServer_Impl::queryInterface( const uno::Type& aType ) throw(uno::RuntimeException) +uno::Any SAL_CALL +EmbedServer_Impl::queryInterface( + const uno::Type& aType ) + throw( + uno::RuntimeException + ) { - uno::Any a= ::cppu::queryInterface( aType, static_cast(this)); + uno::Any a= + ::cppu::queryInterface( + aType, static_cast(this)); if( a == uno::Any()) return OWeakObject::queryInterface( aType); else @@ -200,7 +207,11 @@ void SAL_CALL EmbedServer_Impl::release( ) throw (uno::RuntimeException) // XTypeProvider -------------------------------------------------- -uno::Sequence< uno::Type > SAL_CALL EmbedServer_Impl::getTypes( ) throw(uno::RuntimeException) +uno::Sequence< uno::Type > SAL_CALL +EmbedServer_Impl::getTypes( ) + throw( + uno::RuntimeException + ) { static ::cppu::OTypeCollection *pCollection = 0; if( ! pCollection ) @@ -209,8 +220,11 @@ uno::Sequence< uno::Type > SAL_CALL EmbedServer_Impl::getTypes( ) throw(uno::Run if( ! pCollection ) { static ::cppu::OTypeCollection collection( - getCppuType(reinterpret_cast< uno::Reference< uno::XWeak>*>(0)), - getCppuType(reinterpret_cast< uno::Reference< lang::XTypeProvider>*>(0)) ); + getCppuType( + reinterpret_cast*>(0)), + getCppuType( + reinterpret_cast< + uno::Reference< lang::XTypeProvider>*>(0))); pCollection = &collection; } } -- cgit v1.2.3