From 8d28110439a9d069a7d1041423deef3de4472dc6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 31 May 2013 11:53:52 +0200 Subject: 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 --- sfx2/source/sidebar/SidebarPanel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2') 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 SAL_CALL SidebarPanel::getCanvas (void) const ::comphelper::ComponentContext aComponentContext (::comphelper::getProcessServiceFactory()); mxCanvas = Reference( aComponentContext.createComponentWithArguments( - "com.sun.star.rendering.VCLCanvas", + "com.sun.star.rendering.Canvas.VCL", aArg), UNO_QUERY); } -- cgit v1.2.3