From 18f1965834757b4928bd81447457240610652241 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 21 Oct 2016 08:58:23 +0200 Subject: Remove convertPropertyValue overload for OUString ...it never did anything different than the generic template overload. Strictly speaking, removing that inline function overload could be considered an API change, but it shouldn't cause any issues in practice even when recompiling all code against the new include files. Change-Id: Icb0942f56ee0888f09d3478f34d568d44651c838 --- include/cppuhelper/proptypehlp.h | 1 - include/cppuhelper/proptypehlp.hxx | 7 ------- 2 files changed, 8 deletions(-) (limited to 'include/cppuhelper') diff --git a/include/cppuhelper/proptypehlp.h b/include/cppuhelper/proptypehlp.h index d163831e66bc..ad44bdf39781 100644 --- a/include/cppuhelper/proptypehlp.h +++ b/include/cppuhelper/proptypehlp.h @@ -48,7 +48,6 @@ inline void SAL_CALL convertPropertyValue( sal_uInt16 & target, const css::uno:: inline void SAL_CALL convertPropertyValue( sal_Int8 & target , const css::uno::Any & source ); inline void SAL_CALL convertPropertyValue( float & target , const css::uno::Any & source ); inline void SAL_CALL convertPropertyValue( double &target , const css::uno::Any &source ); -inline void SAL_CALL convertPropertyValue( ::rtl::OUString &target , const css::uno::Any &source ); } // end namespace cppu diff --git a/include/cppuhelper/proptypehlp.hxx b/include/cppuhelper/proptypehlp.hxx index a9c55df8bd9c..20b301395f7a 100644 --- a/include/cppuhelper/proptypehlp.hxx +++ b/include/cppuhelper/proptypehlp.hxx @@ -272,13 +272,6 @@ inline void SAL_CALL convertPropertyValue( double &d , const css::uno::Any &a ) } } -inline void SAL_CALL convertPropertyValue( ::rtl::OUString &ow , const css::uno::Any &a ) -{ - if( !(a >>= ow) ) { - throw css::lang::IllegalArgumentException(); - } -} - } // end namespace cppu #endif -- cgit