cppuhelper/source/propertysetmixin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8a5fddc656705cf0175c1f5eda98a153a0953b52 Author: Lionel Elie Mamane <[email protected]> Date: Thu Nov 29 14:47:48 2012 +0100 Enhance error message when setting a CONSTRAINED property to Vetoed value Change-Id: I8391c874723bddaabe2fde12f22d9f50a444d3df diff --git a/cppuhelper/source/propertysetmixin.cxx b/cppuhelper/source/propertysetmixin.cxx index 85a4d80..babad63 100644 --- a/cppuhelper/source/propertysetmixin.cxx +++ b/cppuhelper/source/propertysetmixin.cxx @@ -625,7 +625,7 @@ void PropertySetMixinImpl::Impl::setProperty( & css::beans::PropertyAttribute::CONSTRAINED) != 0)) { - throw css::beans::PropertyVetoException(name, object); + throw css::beans::PropertyVetoException("Invalid " + name, object); } else { throw css::lang::WrappedTargetException( e.Message, object, e.TargetException); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
