summaryrefslogtreecommitdiff
path: root/forms/source/component/scrollbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/scrollbar.cxx')
-rw-r--r--forms/source/component/scrollbar.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/forms/source/component/scrollbar.cxx b/forms/source/component/scrollbar.cxx
index 2e153c3d71f3..b478a58c69e2 100644
--- a/forms/source/component/scrollbar.cxx
+++ b/forms/source/component/scrollbar.cxx
@@ -118,9 +118,7 @@ namespace frm
// to benefit from the functionality for binding to spreadsheet cells
Sequence< OUString > SAL_CALL OScrollBarModel::getSupportedServiceNames()
{
- Sequence< OUString > aOwnNames( 2 );
- aOwnNames[ 0 ] = FRM_SUN_COMPONENT_SCROLLBAR;
- aOwnNames[ 1 ] = BINDABLE_INTEGER_VALUE_RANGE;
+ Sequence< OUString > aOwnNames { FRM_SUN_COMPONENT_SCROLLBAR, BINDABLE_INTEGER_VALUE_RANGE };
return ::comphelper::combineSequences(
getAggregateServiceNames(),