diff options
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index 8d244ab6d6e9..bbb412a32df0 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -101,15 +101,15 @@ namespace DOM return static_cast< XDocumentBuilder* >(new CDocumentBuilder); } - const char* CDocumentBuilder::aImplementationName = "com.sun.star.comp.xml.dom.DocumentBuilder"; - const char* CDocumentBuilder::aSupportedServiceNames[] = { + static const char aImplementationName[] = "com.sun.star.comp.xml.dom.DocumentBuilder"; + static const char* aSupportedServiceNames[] = { "com.sun.star.xml.dom.DocumentBuilder", nullptr }; OUString CDocumentBuilder::_getImplementationName() { - return OUString::createFromAscii(aImplementationName); + return OUString(aImplementationName); } Sequence<OUString> CDocumentBuilder::_getSupportedServiceNames() { |