summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-02-13 09:14:18 +0100
committerJan Holesovsky <kendy@collabora.com>2015-02-13 09:17:55 +0100
commit146461ea6ee7836835416b3fbd023079d9db69e4 (patch)
tree3ebb5ecc3a3fe582ba0705e04dcb581c36330a8b
parente6b2860e88fa89b4ce7c9fdc7026dc1daf0fa700 (diff)
Add an overlooked constructor to chartcore.component.
com.sun.star.comp.chart2.report.XMLFilter was pointing to com.sun.star.comp.chart2.XMLFilter by mistake. Change-Id: Ia3c96cc98a4f81f2bb918200dc39eae1dbafdb58
-rw-r--r--chart2/source/chartcore.component2
-rw-r--r--chart2/source/model/filter/XMLFilter.cxx7
2 files changed, 8 insertions, 1 deletions
diff --git a/chart2/source/chartcore.component b/chart2/source/chartcore.component
index 726274add0c5..5928fb19109c 100644
--- a/chart2/source/chartcore.component
+++ b/chart2/source/chartcore.component
@@ -252,7 +252,7 @@
<service name="com.sun.star.document.ImportFilter"/>
</implementation>
<implementation name="com.sun.star.comp.chart2.report.XMLFilter"
- constructor="com_sun_star_comp_chart2_XMLFilter_get_implementation">
+ constructor="com_sun_star_comp_chart2_report_XMLFilter_get_implementation">
<service name="com.sun.star.document.ExportFilter"/>
<service name="com.sun.star.document.ImportFilter"/>
</implementation>
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx
index cbce9a3c1802..3e18fb46af55 100644
--- a/chart2/source/model/filter/XMLFilter.cxx
+++ b/chart2/source/model/filter/XMLFilter.cxx
@@ -821,4 +821,11 @@ com_sun_star_comp_chart2_XMLFilter_get_implementation(css::uno::XComponentContex
return cppu::acquire(new ::chart::XMLFilter(context));
}
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart2_report_XMLFilter_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::XMLReportFilterHelper(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */