summaryrefslogtreecommitdiff
path: root/svtools/source/config
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/config')
-rw-r--r--svtools/source/config/slidesorterbaropt.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/svtools/source/config/slidesorterbaropt.cxx b/svtools/source/config/slidesorterbaropt.cxx
index f2e3c5d108dd..22b5b6b5e768 100644
--- a/svtools/source/config/slidesorterbaropt.cxx
+++ b/svtools/source/config/slidesorterbaropt.cxx
@@ -308,7 +308,7 @@ void SvtSlideSorterBarOptions_Impl::ImplCommit()
Sequence< OUString > SvtSlideSorterBarOptions_Impl::GetPropertyNames()
{
// Build list of configuration key names.
- const OUString pProperties[] =
+ return
{
PROPERTYNAME_VISIBLE_IMPRESSVIEW,
PROPERTYNAME_VISIBLE_OUTLINEVIEW,
@@ -317,9 +317,6 @@ Sequence< OUString > SvtSlideSorterBarOptions_Impl::GetPropertyNames()
PROPERTYNAME_VISIBLE_SLIDESORTERVIEW,
PROPERTYNAME_VISIBLE_DRAWVIEW,
};
-
- // Initialize return sequence with these list and run
- return Sequence< OUString >( pProperties, SAL_N_ELEMENTS( pProperties ) );
}
void SvtSlideSorterBarOptions_Impl::SetVisibleViewImpl( bool& bVisibleView, bool bVisible )