summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-12 11:17:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-12 13:13:55 +0100
commita07c637a0e4fe0ab81db70c69decbc946ad37da9 (patch)
tree05e545fa76ad0798fad201cbdf316c752340bd00 /uui
parentbc6e282bc2a43093c7a7b4d517c9e809c008298e (diff)
getPropertySetInfo is allowed to return null
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 <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'uui')
-rw-r--r--uui/source/interactionhandler.cxx3
1 files changed, 1 insertions, 2 deletions
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 <comphelper/namedvaluecollection.hxx>
-#include <comphelper/propertysetinfo.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
@@ -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