diff options
Diffstat (limited to 'cppu/inc/com/sun/star/uno/Any.hxx')
-rw-r--r-- | cppu/inc/com/sun/star/uno/Any.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cppu/inc/com/sun/star/uno/Any.hxx b/cppu/inc/com/sun/star/uno/Any.hxx index 8ea8c437dde2..da95bb8393b2 100644 --- a/cppu/inc/com/sun/star/uno/Any.hxx +++ b/cppu/inc/com/sun/star/uno/Any.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,13 +36,13 @@ #include "cppu/unotype.hxx" namespace com -{ +{ namespace sun -{ +{ namespace star -{ +{ namespace uno -{ +{ //__________________________________________________________________________________________________ inline Any::Any() SAL_THROW( () ) @@ -183,7 +183,7 @@ inline sal_Bool Any::operator != ( const Any & rAny ) const SAL_THROW( () ) //__________________________________________________________________________________________________ template< class C > inline Any SAL_CALL makeAny( const C & value ) SAL_THROW( () ) -{ +{ return Any( &value, ::cppu::getTypeFavourUnsigned(&value) ); } @@ -199,7 +199,7 @@ inline Any SAL_CALL makeAny( bool const & value ) SAL_THROW( () ) //__________________________________________________________________________________________________ template< class C > inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW( () ) -{ +{ const Type & rType = ::cppu::getTypeFavourUnsigned(&value); ::uno_type_any_assign( &rAny, const_cast< C * >( &value ), rType.getTypeLibType(), |