diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-12-03 16:08:30 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-03 18:04:25 +0100 |
commit | 7b57e37c68f2c4cece3b0e0db61f4878277dd1bc (patch) | |
tree | 46094b35601255a35746a2d114619f66ee4edcd0 /cppu | |
parent | 5db72152fe67c7f538f67c284b6767a52c12aa69 (diff) |
there should be no support for OString in Any
Change-Id: I53d047381a89d52c43378dd304ba6e0774f59968
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/inc/com/sun/star/uno/Any.hxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cppu/inc/com/sun/star/uno/Any.hxx b/cppu/inc/com/sun/star/uno/Any.hxx index 8f6dfc61cfdf..6f3bda9692bd 100644 --- a/cppu/inc/com/sun/star/uno/Any.hxx +++ b/cppu/inc/com/sun/star/uno/Any.hxx @@ -190,14 +190,6 @@ inline Any SAL_CALL makeAny( bool const & value ) SAL_THROW(()) //__________________________________________________________________________________________________ #ifdef RTL_FAST_STRING template< class C1, class C2 > -inline Any SAL_CALL makeAny( const rtl::OStringConcat< C1, C2 >& value ) SAL_THROW(()) -{ - const rtl::OString str( value ); - return Any( &str, ::cppu::getTypeFavourUnsigned(&str) ); -} - -//__________________________________________________________________________________________________ -template< class C1, class C2 > inline Any SAL_CALL makeAny( const rtl::OUStringConcat< C1, C2 >& value ) SAL_THROW(()) { const rtl::OUString str( value ); @@ -228,18 +220,6 @@ inline void SAL_CALL operator <<= ( Any & rAny, bool const & value ) //______________________________________________________________________________ #ifdef RTL_FAST_STRING template< class C1, class C2 > -inline void SAL_CALL operator <<= ( Any & rAny, const rtl::OStringConcat< C1, C2 >& value ) - SAL_THROW(()) -{ - const rtl::OString str( value ); - const Type & rType = ::cppu::getTypeFavourUnsigned(&str); - ::uno_type_any_assign( - &rAny, const_cast< rtl::OString * >( &str ), rType.getTypeLibType(), - (uno_AcquireFunc)cpp_acquire, (uno_ReleaseFunc)cpp_release ); -} - -//______________________________________________________________________________ -template< class C1, class C2 > inline void SAL_CALL operator <<= ( Any & rAny, const rtl::OUStringConcat< C1, C2 >& value ) SAL_THROW(()) { |