diff options
Diffstat (limited to 'sd/source/ui/view/drviewse.cxx')
-rw-r--r-- | sd/source/ui/view/drviewse.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index dd9d8bb20620..f0e76ec6a32f 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -29,6 +29,7 @@ #include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <comphelper/lok.hxx> +#include <comphelper/propertyvalue.hxx> #include <editeng/editstat.hxx> #include <editeng/outlobj.hxx> #include <vcl/svapp.hxx> @@ -1668,14 +1669,8 @@ namespace slideshowhelp { //Start at page 0, this would blow away any custom //show settings if any were set - Sequence< PropertyValue > aArguments(1); - PropertyValue aPage; - - aPage.Name = "FirstPage"; - aPage.Value <<= OUString("0"); - - aArguments[0] = aPage; - + Sequence< PropertyValue > aArguments{ comphelper::makePropertyValue("FirstPage", + OUString("0")) }; xPresentation->startWithArguments( aArguments ); } sfx2::SfxNotebookBar::UnlockNotebookBar(); |