Kaydet (Commit) e051bb72 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Olivier Hallot

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: 's avatarOlivier Hallot <olivier.hallot@libreoffice.org>
üst f0bf6a41
......@@ -740,7 +740,7 @@ class SfxStringItem;
#define SID_VERTICALTEXT_STATE ( SID_SVX_START + 957 )
#define SID_OPEN_XML_FILTERSETTINGS ( SID_SVX_START + 958 )
#define SID_HANGUL_HANJA_CONVERSION ( SID_SVX_START + 959 )
#define SID_EXTRUSION_TOOGLE ( SID_SVX_START + 960 )
#define SID_EXTRUSION_TOGGLE ( SID_SVX_START + 960 )
#define SID_EXTRUSION_TILT_DOWN ( SID_SVX_START + 961 )
#define SID_EXTRUSION_TILT_UP ( SID_SVX_START + 962 )
#define SID_EXTRUSION_TILT_LEFT ( SID_SVX_START + 963 )
......
......@@ -193,7 +193,7 @@ interface TableDraw
SID_FORMATPAINTBRUSH [ ExecMethod = ExecFormatPaintbrush; StateMethod = StateFormatPaintbrush; ]
SID_OPEN_XML_FILTERSETTINGS [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
SID_EXTRUSION_TOOGLE [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
SID_EXTRUSION_TOGGLE [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
SID_EXTRUSION_TILT_DOWN [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
SID_EXTRUSION_TILT_UP [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
SID_EXTRUSION_TILT_LEFT [ ExecMethod = ExecDrawFunc ; StateMethod = GetDrawFuncState ; ]
......
......@@ -576,7 +576,7 @@ void ScDrawShell::ExecDrawFunc( SfxRequest& rReq )
break;
}
case SID_EXTRUSION_TOOGLE:
case SID_EXTRUSION_TOGGLE:
case SID_EXTRUSION_TILT_DOWN:
case SID_EXTRUSION_TILT_UP:
case SID_EXTRUSION_TILT_LEFT:
......
......@@ -2376,7 +2376,7 @@ interface DrawView
ExecMethod = Execute ;
StateMethod = GetMenuState ;
]
SID_EXTRUSION_TOOGLE
SID_EXTRUSION_TOGGLE
[
ExecMethod = FuTemporary ;
StateMethod = GetMenuState ;
......
......@@ -3071,7 +3071,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
}
break;
case SID_EXTRUSION_TOOGLE:
case SID_EXTRUSION_TOGGLE:
case SID_EXTRUSION_TILT_DOWN:
case SID_EXTRUSION_TILT_UP:
case SID_EXTRUSION_TILT_LEFT:
......
......@@ -9505,7 +9505,7 @@ SfxVoidItem FontNameList SID_ATTR_CHAR_FONTLIST
]
SfxBoolItem ExtrusionToggle SID_EXTRUSION_TOOGLE
SfxBoolItem ExtrusionToggle SID_EXTRUSION_TOGGLE
[
AutoUpdate = TRUE,
......
......@@ -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)
{
......
......@@ -266,7 +266,7 @@ interface TextDraw : TextDrawBase
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
]
SID_EXTRUSION_TOOGLE
SID_EXTRUSION_TOGGLE
[
ExecMethod = Execute ;
StateMethod = GetState ;
......
......@@ -311,7 +311,7 @@ void SwDrawShell::Execute(SfxRequest &rReq)
GetView().UpdateWordCount(this, nSlotId);
}
break;
case SID_EXTRUSION_TOOGLE:
case SID_EXTRUSION_TOGGLE:
case SID_EXTRUSION_TILT_DOWN:
case SID_EXTRUSION_TILT_UP:
case SID_EXTRUSION_TILT_LEFT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment