summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/chart/converterbase.cxx
diff options
context:
space:
mode:
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;