summaryrefslogtreecommitdiffstats
path: root/sc/inc/xmlwrap.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-10-10 10:13:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-22 17:01:11 +0200
commitfb741b5e1e6aeaee74cf14af4f1cc152f0ab0952 (patch)
tree24864ba5addb12799a508ce4718868026519f057 /sc/inc/xmlwrap.hxx
parentCLANGPLUGIN_CPPFLAGS for building plugin for Clang in nonstandard location (diff)
downloadcore-fb741b5e1e6aeaee74cf14af4f1cc152f0ab0952.tar.gz
core-fb741b5e1e6aeaee74cf14af4f1cc152f0ab0952.zip
fdo#46808, Adapt xml::sax::XWriter UNO service to new style
Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
Diffstat (limited to 'sc/inc/xmlwrap.hxx')
-rw-r--r--sc/inc/xmlwrap.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/xmlwrap.hxx b/sc/inc/xmlwrap.hxx
index 2e378a4a1d09..7d03f56f27be 100644
--- a/sc/inc/xmlwrap.hxx
+++ b/sc/inc/xmlwrap.hxx
@@ -38,7 +38,7 @@ namespace com { namespace sun { namespace star {
namespace uno { class XInterface; }
namespace embed { class XStorage; }
namespace xml {
- namespace sax { struct InputSource; class XParser; } }
+ namespace sax { struct InputSource; class XParser; class XWriter; } }
} } }
class ScXMLImportWrapper
@@ -59,7 +59,7 @@ class ScXMLImportWrapper
sal_Bool ExportToComponent(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>& xServiceFactory,
com::sun::star::uno::Reference<com::sun::star::frame::XModel>& xModel,
- com::sun::star::uno::Reference<com::sun::star::uno::XInterface>& xWriter,
+ com::sun::star::uno::Reference<com::sun::star::xml::sax::XWriter>& xWriter,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aDescriptor,
const rtl::OUString& sName, const rtl::OUString& sMediaType, const rtl::OUString& sComponentName,
const sal_Bool bPlainText, com::sun::star::uno::Sequence<com::sun::star::uno::Any>& aArgs,