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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user