diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-26 18:37:19 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-28 03:35:22 +0200 |
commit | 8090cba738350372b459f31deac8b97fa7153a04 (patch) | |
tree | 8172e685b7c920a2157ffa2528b38aad79c75dc6 /chart2 | |
parent | 9cab649ccb3d827258e95a9b5c91d4b726564d89 (diff) |
implement XDumper in ChartModel
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 7 | ||||
-rw-r--r-- | chart2/source/model/main/ChartModel.hxx | 13 |
2 files changed, 16 insertions, 4 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 6430d3a4b3f3..c23dba72d22b 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -1353,6 +1353,13 @@ uno::Sequence< Reference< chart2::data::XLabeledDataSequence > > SAL_CALL ChartM return uno::Sequence< Reference< chart2::data::XLabeledDataSequence > >(); } +//XDumper +rtl::OUString SAL_CALL ChartModel::dump() + throw (uno::RuntimeException) +{ + return rtl::OUString(); +} + } // namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/model/main/ChartModel.hxx b/chart2/source/model/main/ChartModel.hxx index 9d08d283187c..40b1dbdebcee 100644 --- a/chart2/source/model/main/ChartModel.hxx +++ b/chart2/source/model/main/ChartModel.hxx @@ -64,9 +64,9 @@ #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/datatransfer/XTransferable.hpp> -#if ! defined(INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_21) -#define INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_21 -#define COMPHELPER_IMPLBASE_INTERFACE_NUMBER 21 +#if ! defined(INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_22) +#define INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_22 +#define COMPHELPER_IMPLBASE_INTERFACE_NUMBER 22 #include "comphelper/implbase_var.hxx" #endif #include <osl/mutex.hxx> @@ -88,7 +88,7 @@ namespace impl { // Note: needed for queryInterface (if it calls the base-class implementation) -typedef ::comphelper::WeakImplHelper21< +typedef ::comphelper::WeakImplHelper22< // ::com::sun::star::frame::XModel //comprehends XComponent (required interface), base of XChartDocument ::com::sun::star::util::XCloseable //comprehends XCloseBroadcaster ,::com::sun::star::frame::XStorable2 //(extension of XStorable) @@ -111,6 +111,7 @@ typedef ::comphelper::WeakImplHelper21< ,::com::sun::star::document::XDocumentPropertiesSupplier ,::com::sun::star::chart2::data::XDataSource ,::com::sun::star::document::XUndoManagerSupplier + ,::com::sun::star::qa::XDumper > ChartModel_Base; } @@ -607,6 +608,10 @@ public: // ____ XDataSource ____ allows access to the curently used data and data ranges virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XLabeledDataSequence > > SAL_CALL getDataSequences() throw (::com::sun::star::uno::RuntimeException); + + // XDumper + virtual rtl::OUString dump() + throw (com::sun::star::uno::RuntimeException); }; } // namespace chart |