summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/presenter/PresenterHelper.cxx2
-rw-r--r--sfx2/source/sidebar/SidebarPanel.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/presenter/PresenterHelper.cxx b/sd/source/ui/presenter/PresenterHelper.cxx
index 97bc4f1c7abe..e83c033e8e90 100644
--- a/sd/source/ui/presenter/PresenterHelper.cxx
+++ b/sd/source/ui/presenter/PresenterHelper.cxx
@@ -215,7 +215,7 @@ Reference<rendering::XCanvas> SAL_CALL PresenterHelper::createCanvas (
xFactory->createInstanceWithArguments(
!rsOptionalCanvasServiceName.isEmpty()
? rsOptionalCanvasServiceName
- : OUString("com.sun.star.rendering.VCLCanvas"),
+ : OUString("com.sun.star.rendering.Canvas.VCL"),
aArg),
UNO_QUERY);
}
diff --git a/sfx2/source/sidebar/SidebarPanel.cxx b/sfx2/source/sidebar/SidebarPanel.cxx
index 33c3ef6ff7cf..0dc5f3f6b74a 100644
--- a/sfx2/source/sidebar/SidebarPanel.cxx
+++ b/sfx2/source/sidebar/SidebarPanel.cxx
@@ -105,7 +105,7 @@ cssu::Reference<css::rendering::XCanvas> SAL_CALL SidebarPanel::getCanvas (void)
const ::comphelper::ComponentContext aComponentContext (::comphelper::getProcessServiceFactory());
mxCanvas = Reference<rendering::XCanvas>(
aComponentContext.createComponentWithArguments(
- "com.sun.star.rendering.VCLCanvas",
+ "com.sun.star.rendering.Canvas.VCL",
aArg),
UNO_QUERY);
}