[Libreoffice-commits] core.git: uui/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 11 19:38:18 UTC 2019


 uui/source/interactionhandler.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 774de260e934ee89cfd1480b85ca083b98d69e79
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Nov 11 16:50:43 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Nov 11 20:36:58 2019 +0100

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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


More information about the Libreoffice-commits mailing list