diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-12-22 00:12:11 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-01-15 11:12:09 +0200 |
commit | 79fa9bb77c702571de753c739e257ff6c27071ca (patch) | |
tree | 87f75ea99592d4b1ca8a6e8804cea5642e89d40a /reportdesign/inc | |
parent | f0920199f2983a89b66e3b64d555353d7fe47e52 (diff) |
Implement the XDocumentEventBroadcaster interface in OReportDefinition
On 5-0 branch this change fixed tdf#92203, but it's not needed on
master, because of 22328a224df4619218b88205838307f70612207e. Still
it's nice to have, as the XEventBroadcaster which OReportDefinition
currently implements "should not be used anymore" according to IDL
doc.
Change-Id: I4101dac0078df7cb06f4d33da2a722cfbafb5608
Diffstat (limited to 'reportdesign/inc')
-rw-r--r-- | reportdesign/inc/ReportDefinition.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/reportdesign/inc/ReportDefinition.hxx b/reportdesign/inc/ReportDefinition.hxx index 9e582ea235c8..542bcb0ff907 100644 --- a/reportdesign/inc/ReportDefinition.hxx +++ b/reportdesign/inc/ReportDefinition.hxx @@ -25,6 +25,7 @@ #include "ReportHelperDefines.hxx" #include <com/sun/star/datatransfer/XTransferable.hpp> +#include <com/sun/star/document/XDocumentEventBroadcaster.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <com/sun/star/document/XUndoManagerSupplier.hpp> #include <com/sun/star/frame/XModule.hpp> @@ -61,6 +62,7 @@ namespace reportdesign class OReportComponentProperties; typedef cppu::PartialWeakComponentImplHelper< css::report::XReportDefinition , css::document::XEventBroadcaster + , css::document::XDocumentEventBroadcaster , css::lang::XServiceInfo , css::frame::XModule , css::lang::XUnoTunnel @@ -335,6 +337,11 @@ namespace reportdesign virtual void SAL_CALL addEventListener( const css::uno::Reference< css::document::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::document::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override; + // document::XDocumentEventBroadcaster + virtual void SAL_CALL addDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& rListener ) throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL removeDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& rListener ) throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL notifyDocumentEvent( const OUString& rEventName, const css::uno::Reference< css::frame::XController2 >& rViewController, const css::uno::Any& rSupplement ) throw (css::lang::IllegalArgumentException, css::lang::NoSupportException, css::uno::RuntimeException, std::exception) override; + // XUIConfigurationManagerSupplier virtual css::uno::Reference< css::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager( ) throw (css::uno::RuntimeException, std::exception) override; |