summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorAriel Constenla-Haile <arielch@apache.org>2013-05-28 22:09:19 +0000
committerAriel Constenla-Haile <arielch@apache.org>2013-05-28 22:09:19 +0000
commite0f9eb4cc5d2ea676a899c4cbecb97264a31fef3 (patch)
treeedc3d6d3467d3ec92a04a38142649dccd6693348 /svx
parent6609cc4401c34c53dd4f4233b2031b599ee09df8 (diff)
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.
Notes
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/extrusioncontrols.cxx2
-rw-r--r--svx/util/svxcore.component2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx
index c434bfb32cb6..7f2d2511868a 100644
--- a/svx/source/tbxctrls/extrusioncontrols.cxx
+++ b/svx/source/tbxctrls/extrusioncontrols.cxx
@@ -539,7 +539,7 @@ OUString SAL_CALL ExtrusionDepthController_getImplementationName()
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;
}
diff --git a/svx/util/svxcore.component b/svx/util/svxcore.component
index 5de36dc42311..d7cb24a4c783 100644
--- a/svx/util/svxcore.component
+++ b/svx/util/svxcore.component
@@ -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"/>