summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-31 11:53:52 +0200
committerNoel Grandin <noel@peralex.com>2013-06-03 10:00:02 +0200
commit8d28110439a9d069a7d1041423deef3de4472dc6 (patch)
tree04959e348eace8cad25e45a0a2f8910533f9a42a /sfx2
parent2e152c2438818049b50dcc7b322089af4bcfc384 (diff)
fix broken service name "com.sun.star.rendering.VCLCanvas"
The service is actually called "com.sun.star.rendering.Canvas.VCL" It looks like the code in SidebarPanel is a copy'n'paste from PresenterHelper, and it looks like the PresenterHelper code has been broken since 2008. Change-Id: I78a0fa3bf9333d6473a743cffdb1dc41a7a1266d
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/SidebarPanel.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}