You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2013/05/29 00:09:19 UTC

svn commit: r1487141 - in /openoffice/trunk/main/svx: source/tbxctrls/extrusioncontrols.cxx util/svxcore.component

Author: arielch
Date: Tue May 28 22:09:19 2013
New Revision: 1487141

URL: http://svn.apache.org/r1487141
Log:
svx::ExtrusionDepthController is a ToolbarController

This class is dereived from svt::PopupWindowController, derived in turn
from svt::ToolboxController, the base class of all
css.frame.ToolbarController's. Adapt getSupportedServiceNames() and the
passive component registration to reflect that fact.

Modified:
    openoffice/trunk/main/svx/source/tbxctrls/extrusioncontrols.cxx
    openoffice/trunk/main/svx/util/svxcore.component

Modified: openoffice/trunk/main/svx/source/tbxctrls/extrusioncontrols.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/tbxctrls/extrusioncontrols.cxx?rev=1487141&r1=1487140&r2=1487141&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/tbxctrls/extrusioncontrols.cxx (original)
+++ openoffice/trunk/main/svx/source/tbxctrls/extrusioncontrols.cxx Tue May 28 22:09:19 2013
@@ -539,7 +539,7 @@ OUString SAL_CALL ExtrusionDepthControll
 Sequence< OUString > SAL_CALL ExtrusionDepthController_getSupportedServiceNames() throw( RuntimeException )
 {
     Sequence< OUString > aSNS( 1 );
-    aSNS.getArray()[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.frame.PopupMenuController" ));
+    aSNS.getArray()[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.frame.ToolbarController" ));
     return aSNS;
 }
 

Modified: openoffice/trunk/main/svx/util/svxcore.component
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/util/svxcore.component?rev=1487141&r1=1487140&r2=1487141&view=diff
==============================================================================
--- openoffice/trunk/main/svx/util/svxcore.component (original)
+++ openoffice/trunk/main/svx/util/svxcore.component Tue May 28 22:09:19 2013
@@ -25,7 +25,7 @@
 <component loader="com.sun.star.loader.SharedLibrary"
     xmlns="http://openoffice.org/2010/uno-components">
   <implementation name="com.sun.star.comp.svx.ExtrusionDepthController">
-    <service name="com.sun.star.frame.PopupMenuController"/>
+    <service name="com.sun.star.frame.ToolbarController"/>
   </implementation>
   <implementation name="com.sun.star.comp.svx.ExtrusionDirectionController">
     <service name="com.sun.star.frame.ToolbarController"/>