diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-11 16:50:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-11 20:36:58 +0100 |
commit | 774de260e934ee89cfd1480b85ca083b98d69e79 (patch) | |
tree | 1820246fdbc73fed841a957865cd6d23e7ac5bab /uui | |
parent | 2a79c050ec7dc23766ca1aa4813a43fa8d29e632 (diff) |
return an empty PropertySetInfo instead of assert
e.g. seen with APSO extension
Change-Id: Ia2eb636a7d27ca87062e7962eded06756ff4e333
Reviewed-on: https://gerrit.libreoffice.org/82457
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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/interactionhandler.cxx b/uui/source/interactionhandler.cxx index 201e0433675d..c132e9152b1b 100644 --- a/uui/source/interactionhandler.cxx +++ b/uui/source/interactionhandler.cxx @@ -30,6 +30,7 @@ #include "iahndl.hxx" #include <comphelper/namedvaluecollection.hxx> +#include <comphelper/propertysetinfo.hxx> #include <cppuhelper/exc_hlp.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> @@ -99,8 +100,7 @@ public: virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override { - assert(false); - return nullptr; + return new comphelper::PropertySetInfo; } virtual void SAL_CALL setPropertyValue(const OUString& rPropertyName, const css::uno::Any& rValue) override |