diff options
Diffstat (limited to 'sd/source/ui/unoidl/DrawController.cxx')
-rw-r--r-- | sd/source/ui/unoidl/DrawController.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx index 5574ce080be7..7612ca1d6a0a 100644 --- a/sd/source/ui/unoidl/DrawController.cxx +++ b/sd/source/ui/unoidl/DrawController.cxx @@ -223,9 +223,7 @@ Sequence<OUString> SAL_CALL DrawController::getSupportedServiceNames() throw(RuntimeException, std::exception) { ThrowIfDisposed(); - Sequence<OUString> aSupportedServices (1); - OUString* pServices = aSupportedServices.getArray(); - pServices[0] = ssServiceName; + Sequence<OUString> aSupportedServices { ssServiceName }; return aSupportedServices; } |