diff options
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/controls/roadmapentry.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/toolkit/source/controls/roadmapentry.cxx b/toolkit/source/controls/roadmapentry.cxx index d8734a03a656..1bfb4565a6b6 100644 --- a/toolkit/source/controls/roadmapentry.cxx +++ b/toolkit/source/controls/roadmapentry.cxx @@ -90,9 +90,7 @@ sal_Bool SAL_CALL ORoadmapEntry::supportsService( const OUString& ServiceName ) css::uno::Sequence< OUString > SAL_CALL ORoadmapEntry::getSupportedServiceNames( ) throw (css::uno::RuntimeException, std::exception) { - css::uno::Sequence< OUString > aRet(1); - OUString* pArray = aRet.getArray(); - pArray[0] = "com.sun.star.awt.RoadmapItem"; + css::uno::Sequence<OUString> aRet { "com.sun.star.awt.RoadmapItem" }; return aRet; } |