diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/eventuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/eventuno.cxx b/sc/source/ui/unoobj/eventuno.cxx index 15c792428e64..26284a705fe2 100644 --- a/sc/source/ui/unoobj/eventuno.cxx +++ b/sc/source/ui/unoobj/eventuno.cxx @@ -146,7 +146,7 @@ uno::Any SAL_CALL ScSheetEventsObj::getByName( const OUString& aName ) uno::Sequence<OUString> SAL_CALL ScSheetEventsObj::getElementNames() { SolarMutexGuard aGuard; - uno::Sequence<OUString> aNames((int)ScSheetEventId::COUNT); + auto aNames = uno::Sequence<OUString>((int)ScSheetEventId::COUNT); for (sal_Int32 nEvent=0; nEvent<(int)ScSheetEventId::COUNT; ++nEvent) aNames[nEvent] = ScSheetEvents::GetEventName((ScSheetEventId)nEvent); return aNames; |