summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar/MasterPageContainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/sidebar/MasterPageContainer.cxx')
-rw-r--r--sd/source/ui/sidebar/MasterPageContainer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx
index a1d3f3f93b7b..d29ca491b166 100644
--- a/sd/source/ui/sidebar/MasterPageContainer.cxx
+++ b/sd/source/ui/sidebar/MasterPageContainer.cxx
@@ -820,10 +820,9 @@ Reference<frame::XModel> MasterPageContainer::Implementation::GetModel()
::comphelper::getProcessComponentContext() );
// Create a new model.
- OUString sModelServiceName ( "com.sun.star.presentation.PresentationDocument");
mxModel.set(
::comphelper::getProcessServiceFactory()->createInstance(
- sModelServiceName),
+ "com.sun.star.presentation.PresentationDocument"),
uno::UNO_QUERY);
// Initialize the model.