summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/content.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/content.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/content.cxx b/xmlhelp/source/cxxhelp/provider/content.cxx
index d036ab961b58..24019cd2ad9b 100644
--- a/xmlhelp/source/cxxhelp/provider/content.cxx
+++ b/xmlhelp/source/cxxhelp/provider/content.cxx
@@ -139,8 +139,7 @@ OUString SAL_CALL Content::getImplementationName()
uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames()
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[ 0 ] = "com.sun.star.ucb.CHelpContent";
+ uno::Sequence<OUString> aSNS { "com.sun.star.ucb.CHelpContent" };
return aSNS;
}