From a8cfb651ac0d2669d5780b707bfb1efb43f0f34c Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 16 Oct 2016 19:09:01 +0200 Subject: delete setProperty specialisation with value type Any Using delete instead of std::enable_if because of better error message. Change-Id: I92c57a4bb3281b119166a8f98a94ed3aa6079df5 Reviewed-on: https://gerrit.libreoffice.org/29930 Tested-by: Jenkins Reviewed-by: Jochen Nitschke --- include/oox/helper/propertymap.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/oox/helper/propertymap.hxx b/include/oox/helper/propertymap.hxx index cf9b802cd7d5..badcf0d5e49b 100644 --- a/include/oox/helper/propertymap.hxx +++ b/include/oox/helper/propertymap.hxx @@ -76,6 +76,9 @@ public: return true; } + /** setAnyProperty should be used */ + bool setProperty( sal_Int32, const css::uno::Any& ) = delete; + css::uno::Any getProperty( sal_Int32 nPropId ); void erase( sal_Int32 nPropId ); -- cgit