Kaydet (Commit) 243e6a98 authored tarafından David Tardon's avatar David Tardon

use the right XML import service

Change-Id: I45637984f02e3363812ff8c9f0cbd3464786f4de
üst 1f1c3b29
...@@ -133,7 +133,7 @@ throw (RuntimeException, std::exception) ...@@ -133,7 +133,7 @@ throw (RuntimeException, std::exception)
// An XML import service: what we push sax messages to.. // An XML import service: what we push sax messages to..
Reference < XDocumentHandler > xInternalHandler( Reference < XDocumentHandler > xInternalHandler(
mxContext->getServiceManager()->createInstanceWithContext( mxContext->getServiceManager()->createInstanceWithContext(
"com.sun.star.comp.Draw.XMLOasisImporter", mxContext), "com.sun.star.comp.Impress.XMLOasisImporter", mxContext),
css::uno::UNO_QUERY_THROW); css::uno::UNO_QUERY_THROW);
// The XImporter sets up an empty target document for XDocumentHandler to write to.. // The XImporter sets up an empty target document for XDocumentHandler to write to..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment