From a07c637a0e4fe0ab81db70c69decbc946ad37da9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 12 Nov 2019 11:17:08 +0000 Subject: getPropertySetInfo is allowed to return null MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit so the original state, without the assert, would be ok css.beans.XPropertySet::getPropertySetInfo is documented as "@returns NULL if the implementation cannot or will not provide information about the properties" Change-Id: Ia0230add8f6c1b22a639cd71ca3cc310e0f1d126 Reviewed-on: https://gerrit.libreoffice.org/82499 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- uui/source/interactionhandler.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'uui') diff --git a/uui/source/interactionhandler.cxx b/uui/source/interactionhandler.cxx index c132e9152b1b..f90763e1e22e 100644 --- a/uui/source/interactionhandler.cxx +++ b/uui/source/interactionhandler.cxx @@ -30,7 +30,6 @@ #include "iahndl.hxx" #include -#include #include #include #include @@ -100,7 +99,7 @@ public: virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override { - return new comphelper::PropertySetInfo; + return nullptr; } virtual void SAL_CALL setPropertyValue(const OUString& rPropertyName, const css::uno::Any& rValue) override -- cgit