summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-07-26 10:42:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-26 13:41:59 +0200
commit38bccb6928aaf4ed7eb2e146579fc0cf2446dc17 (patch)
treed3445a122cab2b0e0923695210bc4cf62f7c8a16 /include
parent5935dd32a445acd1b2625acda2f02b7d0debed97 (diff)
sc: create instances with uno constructors
See tdf#74608 for motivation. Change-Id: Id4bf552c6a2580742bf46ccf6cdd2e09b0dbdebc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99455 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/xmlimp.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 351a05887ebd..c2e720b3391f 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -288,10 +288,14 @@ protected:
public:
// SvXMLImport( sal_uInt16 nImportFlags = IMPORT_ALL ) throw();
+ /**
+ * @param sSupportedServiceNames if this is empty we default to our normal supported service names
+ */
SvXMLImport(
const css::uno::Reference< css::uno::XComponentContext >& xContext,
OUString const & implementationName,
- SvXMLImportFlags nImportFlags = SvXMLImportFlags::ALL );
+ SvXMLImportFlags nImportFlags = SvXMLImportFlags::ALL,
+ const css::uno::Sequence< OUString > & sSupportedServiceNames = {});
void cleanup() throw();