summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmldrawingfragment.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/vml/vmldrawingfragment.cxx')
-rw-r--r--oox/source/vml/vmldrawingfragment.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/vml/vmldrawingfragment.cxx b/oox/source/vml/vmldrawingfragment.cxx
index dc5c82515691..591e85482448 100644
--- a/oox/source/vml/vmldrawingfragment.cxx
+++ b/oox/source/vml/vmldrawingfragment.cxx
@@ -27,6 +27,7 @@
#include "oox/vml/vmldrawingfragment.hxx"
+#include "oox/core/xmlfilterbase.hxx"
#include "oox/vml/vmldrawing.hxx"
#include "oox/vml/vmlinputstream.hxx"
#include "oox/vml/vmlshapecontext.hxx"
@@ -53,7 +54,7 @@ DrawingFragment::DrawingFragment( XmlFilterBase& rFilter, const OUString& rFragm
Reference< XInputStream > DrawingFragment::openFragmentStream() const
{
// #i104719# create an input stream that preprocesses the VML data
- return new InputStream( FragmentHandler2::openFragmentStream() );
+ return new InputStream( getFilter().getComponentContext(), FragmentHandler2::openFragmentStream() );
}
ContextHandlerRef DrawingFragment::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs )