Kaydet (Commit) 18f19658 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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
üst 2e7b8067
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment