diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-09-17 12:04:41 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-11-28 15:36:02 +0100 |
commit | e051bb72d6a12e4a10d4a3548eb6a131b80d96fb (patch) | |
tree | d69009e708486ec6ef91de8bde3ebfe6e41200a0 /svx | |
parent | f0bf6a4178dfb3a75d01c4b8b48531a079b75b5b (diff) |
Fix SID_EXTRUSION_TOOGLE -> SID_EXTRUSION_TOGGLE
It passed "make check" on Linux.
If accepted, I have to update these files:
helpcontent2/helpers/help_hid.lst : SID_EXTRUSION_TOOGLE,10960,.uno:ExtrusionToggle
helpcontent2/helpers/longnames_commands.csv : SID_EXTRUSION_TOOGLE,.uno:ExtrusionToggle
helpcontent2/helpers/uno_hid.lst : SID_EXTRUSION_TOOGLE,10960,.uno:ExtrusionToggle
Change-Id: Ie315ef92b6aa8c03c6fc180f4e82d95f28975c2e
Reviewed-on: https://gerrit.libreoffice.org/60631
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
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) { |