diff options
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r-- | sw/source/core/unocore/unodraw.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index c2e8b5fe6726..11ce3dcead4d 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -458,9 +458,7 @@ sal_Bool SwXDrawPage::supportsService(const OUString& rServiceName) throw( uno:: uno::Sequence< OUString > SwXDrawPage::getSupportedServiceNames() throw( uno::RuntimeException, std::exception ) { - uno::Sequence< OUString > aRet(1); - OUString* pArray = aRet.getArray(); - pArray[0] = "com.sun.star.drawing.GenericDrawPage"; + uno::Sequence<OUString> aRet { "com.sun.star.drawing.GenericDrawPage" }; return aRet; } |