diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/sdi/svx.sdi | 2 | ||||
-rw-r--r-- | svx/source/toolbars/extrusionbar.cxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index d38f9d78a69e..b697c4064f9d 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -9505,7 +9505,7 @@ SfxVoidItem FontNameList SID_ATTR_CHAR_FONTLIST ] -SfxBoolItem ExtrusionToggle SID_EXTRUSION_TOOGLE +SfxBoolItem ExtrusionToggle SID_EXTRUSION_TOGGLE [ AutoUpdate = TRUE, diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx index cf14a4a55448..94bb8e326721 100644 --- a/svx/source/toolbars/extrusionbar.cxx +++ b/svx/source/toolbars/extrusionbar.cxx @@ -119,7 +119,7 @@ static void impl_execute( SfxRequest const & rReq, SdrCustomShapeGeometryItem& r sal_uInt16 nSID = rReq.GetSlot(); switch( nSID ) { - case SID_EXTRUSION_TOOGLE: + case SID_EXTRUSION_TOGGLE: { css::uno::Any* pAny = rGeometryItem.GetPropertyValueByName( sExtrusion, sExtrusion ); @@ -458,7 +458,7 @@ void ExtrusionBar::execute( SdrView* pSdrView, SfxRequest const & rReq, SfxBindi switch( nSID ) { - case SID_EXTRUSION_TOOGLE: + case SID_EXTRUSION_TOGGLE: { if ( !pStrResId ) pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ON_OFF; @@ -584,7 +584,7 @@ void ExtrusionBar::execute( SdrView* pSdrView, SfxRequest const & rReq, SfxBindi break; } - if( nSID == SID_EXTRUSION_TOOGLE ) + if( nSID == SID_EXTRUSION_TOGGLE ) { static const sal_uInt16 SidArray[] = { SID_EXTRUSION_TILT_DOWN, @@ -1285,10 +1285,10 @@ void ExtrusionBar::getState( SdrView const * pSdrView, SfxItemSet& rSet ) if(! bOnlyExtrudedCustomShapes) rSet.DisableItem( SID_EXTRUSION_SURFACE_FLOATER ); } - if (rSet.GetItemState(SID_EXTRUSION_TOOGLE) != SfxItemState::UNKNOWN) + if (rSet.GetItemState(SID_EXTRUSION_TOGGLE) != SfxItemState::UNKNOWN) { if( !checkForSelectedCustomShapes( pSdrView, false ) ) - rSet.DisableItem( SID_EXTRUSION_TOOGLE ); + rSet.DisableItem( SID_EXTRUSION_TOGGLE ); } if (rSet.GetItemState(SID_EXTRUSION_DEPTH) != SfxItemState::UNKNOWN) { |