summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unolayer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/unolayer.cxx')
-rw-r--r--sd/source/ui/unoidl/unolayer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unolayer.cxx b/sd/source/ui/unoidl/unolayer.cxx
index 45d040baadd8..66658f9bd50e 100644
--- a/sd/source/ui/unoidl/unolayer.cxx
+++ b/sd/source/ui/unoidl/unolayer.cxx
@@ -478,8 +478,7 @@ sal_Bool SAL_CALL SdLayerManager::supportsService( const OUString& ServiceName )
uno::Sequence< OUString > SAL_CALL SdLayerManager::getSupportedServiceNames()
throw(uno::RuntimeException, std::exception)
{
- OUString aServiceName(UNO_PREFIX "drawing.LayerManager");
- uno::Sequence< OUString > aSeq( &aServiceName, 1 );
+ uno::Sequence< OUString > aSeq { UNO_PREFIX "drawing.LayerManager" };
return aSeq;
}