summaryrefslogtreecommitdiff
path: root/framework/source/fwe/classes/actiontriggerpropertyset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwe/classes/actiontriggerpropertyset.cxx')
-rw-r--r--framework/source/fwe/classes/actiontriggerpropertyset.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/fwe/classes/actiontriggerpropertyset.cxx b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
index acfe55be90e2..969bab6e73ff 100644
--- a/framework/source/fwe/classes/actiontriggerpropertyset.cxx
+++ b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
@@ -112,8 +112,7 @@ throw ( RuntimeException, std::exception )
Sequence< OUString > SAL_CALL ActionTriggerPropertySet::getSupportedServiceNames()
throw ( RuntimeException, std::exception )
{
- Sequence< OUString > seqServiceNames( 1 );
- seqServiceNames[0] = SERVICENAME_ACTIONTRIGGER;
+ Sequence<OUString> seqServiceNames { SERVICENAME_ACTIONTRIGGER };
return seqServiceNames;
}