From a4c121aa4a2f68d36f1ce41e94e8275230ec0866 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 18 May 2015 18:17:58 +0200 Subject: tdf#89794: sw: implement SwXFlatParagraph::getPropertySetInfo() (regression from d477ff4a81ecba8a77ead5ff1a33d3e3ceed622e) Change-Id: Ic49d2c14a27d2fb188a1ba5f9a7d8c0180b8de13 --- sw/source/core/unocore/unoflatpara.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx index bdae8a41eb10..5537ed864dba 100644 --- a/sw/source/core/unocore/unoflatpara.cxx +++ b/sw/source/core/unocore/unoflatpara.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -45,6 +46,7 @@ #include #include #include +#include #include #include @@ -78,8 +80,12 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXFlatParagraph::getPropertySetInfo() throw (uno::RuntimeException, std::exception) { - throw uno::RuntimeException("SwXFlatParagraph::getPropertySetInfo(): " - "not implemented", static_cast< ::cppu::OWeakObject*>(this)); + static comphelper::PropertyMapEntry s_Entries[] = { + { OUString("FieldPositions"), -1, ::cppu::UnoType>::get(), beans::PropertyAttribute::READONLY, 0 }, + { OUString("FootnotePositions"), -1, ::cppu::UnoType>::get(), beans::PropertyAttribute::READONLY, 0 }, + { OUString(), -1, css::uno::Type(), 0, 0 } + }; + return new comphelper::PropertySetInfo(s_Entries); } void SAL_CALL -- cgit