summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/chart/converterbase.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-08 10:48:42 +0200
committerNoel Grandin <noel@peralex.com>2013-01-15 09:56:01 +0200
commitf6c759a6e5ead55b857e5d4898aa423b7616e816 (patch)
tree793c94be22721662151e26cedb2faff94f6c18e2 /oox/source/drawingml/chart/converterbase.cxx
parent2fe852386c9450014f84910b0a282d684f40b56a (diff)
fdo#46808, Adapt chart2::data::LabeledDataSequence UNO service to new style
Change-Id: I98bfbc8e143b9ad9d486f97380186fde9b4423ec
Diffstat (limited to 'oox/source/drawingml/chart/converterbase.cxx')
-rw-r--r--oox/source/drawingml/chart/converterbase.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/oox/source/drawingml/chart/converterbase.cxx b/oox/source/drawingml/chart/converterbase.cxx
index e8714b9c19e3..65d813d307c2 100644
--- a/oox/source/drawingml/chart/converterbase.cxx
+++ b/oox/source/drawingml/chart/converterbase.cxx
@@ -33,6 +33,7 @@
#include "basegfx/numeric/ftools.hxx"
#include "oox/core/xmlfilterbase.hxx"
#include "oox/drawingml/theme.hxx"
+#include <comphelper/processfactory.hxx>
namespace oox {
namespace drawingml {
@@ -240,6 +241,11 @@ Reference< XInterface > ConverterRoot::createInstance( const OUString& rServiceN
return xInt;
}
+Reference< XComponentContext > ConverterRoot::getComponentContext() const
+{
+ return comphelper::getComponentContext(mxData->mrFilter.getServiceFactory());
+}
+
XmlFilterBase& ConverterRoot::getFilter() const
{
return mxData->mrFilter;