diff options
Diffstat (limited to 'sw/source/uibase/uno/unodoc.cxx')
-rw-r--r-- | sw/source/uibase/uno/unodoc.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/uibase/uno/unodoc.cxx b/sw/source/uibase/uno/unodoc.cxx index 80f3ca86e80a..aded8e90c06c 100644 --- a/sw/source/uibase/uno/unodoc.cxx +++ b/sw/source/uibase/uno/unodoc.cxx @@ -35,10 +35,7 @@ uno::Sequence< OUString > SAL_CALL SwTextDocument_getSupportedServiceNames() thr { // return only top level services here! All others must be // resolved by rtti! - uno::Sequence< OUString > aRet ( 1 ); - OUString* pArray = aRet.getArray(); - pArray[0] = "com.sun.star.text.TextDocument"; - + uno::Sequence< OUString > aRet { "com.sun.star.text.TextDocument" }; return aRet; } |