summaryrefslogtreecommitdiff
path: root/include/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-21 08:58:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-21 08:58:37 +0200
commit18f1965834757b4928bd81447457240610652241 (patch)
treefb12d4924c9af5b111847cce4f83076e92482476 /include/cppuhelper
parent2e7b806711b309c5ed1c6438cca1189caf6d508f (diff)
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
Diffstat (limited to 'include/cppuhelper')
-rw-r--r--include/cppuhelper/proptypehlp.h1
-rw-r--r--include/cppuhelper/proptypehlp.hxx7
2 files changed, 0 insertions, 8 deletions
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