summaryrefslogtreecommitdiff
path: root/xmlscript/source/xml_helper/xml_impctx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xml_helper/xml_impctx.cxx')
-rw-r--r--xmlscript/source/xml_helper/xml_impctx.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx
index 35299be38efd..6b8ac8c8f50e 100644
--- a/xmlscript/source/xml_helper/xml_impctx.cxx
+++ b/xmlscript/source/xml_helper/xml_impctx.cxx
@@ -47,8 +47,7 @@ const sal_Int32 UID_UNKNOWN = -1;
Sequence< OUString > getSupportedServiceNames_DocumentHandlerImpl()
{
- OUString name( "com.sun.star.xml.input.SaxDocumentHandler" );
- return Sequence< OUString >( &name, 1 );
+ return Sequence< OUString > { "com.sun.star.xml.input.SaxDocumentHandler" };
}
OUString getImplementationName_DocumentHandlerImpl()