summaryrefslogtreecommitdiffstats
path: root/include/cppuhelper/proptypehlp.h
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-04 17:32:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-04 17:39:06 +0200
commiteda7d3cc451d3baa12c38057721d5c50862a51dd (patch)
tree9923a64bcdd102570cee955895819b58b8b59858 /include/cppuhelper/proptypehlp.h
parentDeclaration of sal_Bool overload of convertPropertyValue had been missing (diff)
downloadcore-eda7d3cc451d3baa12c38057721d5c50862a51dd.tar.gz
core-eda7d3cc451d3baa12c38057721d5c50862a51dd.zip
Add covertPropertyValue bool overload
...as the behavior of the generic covertPropertyValue template instantiated for bool would be quite different from the behavior of the convertPropertyValue sal_Bool overload, leading to potential surprises. (Though it seems there were no uses yet of covertPropertyValue with bool, only with sal_Bool.) Change-Id: I107a0608fc4271e95464a7f9bdc340a9e6dc1336
Diffstat (limited to 'include/cppuhelper/proptypehlp.h')
-rw-r--r--include/cppuhelper/proptypehlp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cppuhelper/proptypehlp.h b/include/cppuhelper/proptypehlp.h
index b76279f02c29..d163831e66bc 100644
--- a/include/cppuhelper/proptypehlp.h
+++ b/include/cppuhelper/proptypehlp.h
@@ -38,6 +38,7 @@ inline void SAL_CALL convertPropertyValue( target &value , const css::uno::Any
conversion of basic types
*/
inline void SAL_CALL convertPropertyValue( sal_Bool & target , const css::uno::Any & source );
+inline void SAL_CALL convertPropertyValue( bool & target , const css::uno::Any & source );
inline void SAL_CALL convertPropertyValue( sal_Int64 & target , const css::uno::Any & source );
inline void SAL_CALL convertPropertyValue( sal_uInt64 & target, const css::uno::Any & source );
inline void SAL_CALL convertPropertyValue( sal_Int32 & target , const css::uno::Any & source );