Kaydet (Commit) f586c7ec authored tarafından Yousuf Philips's avatar Yousuf Philips Kaydeden (comit) Khaled Hosny

tdf#104610 Always enabled no-width break formatting marks

Change-Id: I0708a61d43bfa44dac19683b200975e3a6da788a
Reviewed-on: https://gerrit.libreoffice.org/36807Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarKhaled Hosny <khaledhosny@eglug.org>
üst dff3d8ca
......@@ -67,8 +67,6 @@ interface StarCalc
SID_INSERT_RLM [ StateMethod = HideDisabledSlots; Export = FALSE; ]
SID_INSERT_LRM [ StateMethod = HideDisabledSlots; Export = FALSE; ]
SID_INSERT_ZWSP [ StateMethod = HideDisabledSlots; Export = FALSE; ]
SID_INSERT_ZWNBSP [ StateMethod = HideDisabledSlots; Export = FALSE; ]
}
......
......@@ -751,8 +751,6 @@ void ScEditShell::GetState( SfxItemSet& rSet )
case SID_TRANSLITERATE_KATAGANA:
case SID_INSERT_RLM:
case SID_INSERT_LRM:
case SID_INSERT_ZWNBSP:
case SID_INSERT_ZWSP:
ScViewUtil::HideDisabledSlot( rSet, pViewData->GetBindings(), nWhich );
break;
......
......@@ -323,8 +323,6 @@ void ScViewUtil::HideDisabledSlot( SfxItemSet& rSet, SfxBindings& rBindings, sal
case SID_INSERT_RLM:
case SID_INSERT_LRM:
case SID_INSERT_ZWNBSP:
case SID_INSERT_ZWSP:
bEnabled = aCTLOptions.IsCTLFontEnabled();
break;
......
......@@ -315,6 +315,8 @@ void FuBullet::GetSlotState( SfxItemSet& rSet, ViewShell* pViewShell, SfxViewFra
rSet.DisableItem(FN_INSERT_SOFT_HYPHEN);
rSet.DisableItem(FN_INSERT_HARDHYPHEN);
rSet.DisableItem(FN_INSERT_HARD_SPACE);
rSet.DisableItem(SID_INSERT_ZWNBSP);
rSet.DisableItem(SID_INSERT_ZWSP);
}
if( !bTextEdit && (dynamic_cast<OutlineViewShell*>( pViewShell ) == nullptr) )
......@@ -324,8 +326,6 @@ void FuBullet::GetSlotState( SfxItemSet& rSet, ViewShell* pViewShell, SfxViewFra
{
rSet.DisableItem(SID_INSERT_RLM);
rSet.DisableItem(SID_INSERT_LRM);
rSet.DisableItem(SID_INSERT_ZWNBSP);
rSet.DisableItem(SID_INSERT_ZWSP);
}
if( pViewFrame )
......@@ -334,8 +334,6 @@ void FuBullet::GetSlotState( SfxItemSet& rSet, ViewShell* pViewShell, SfxViewFra
rBindings.SetVisibleState( SID_INSERT_RLM, bCtlEnabled );
rBindings.SetVisibleState( SID_INSERT_LRM, bCtlEnabled );
rBindings.SetVisibleState( SID_INSERT_ZWNBSP, bCtlEnabled );
rBindings.SetVisibleState( SID_INSERT_ZWSP, bCtlEnabled );
}
}
}
......
......@@ -851,8 +851,6 @@ void SwAnnotationShell::GetState(SfxItemSet& rSet)
break;
case SID_INSERT_RLM :
case SID_INSERT_LRM :
case SID_INSERT_ZWNBSP :
case SID_INSERT_ZWSP:
{
SvtCTLOptions aCTLOptions;
bool bEnabled = aCTLOptions.IsCTLFontEnabled();
......
......@@ -872,8 +872,6 @@ ASK_ESCAPE:
break;
case SID_INSERT_RLM :
case SID_INSERT_LRM :
case SID_INSERT_ZWNBSP :
case SID_INSERT_ZWSP:
{
SvtCTLOptions aCTLOptions;
bool bEnabled = aCTLOptions.IsCTLFontEnabled();
......
......@@ -1847,8 +1847,6 @@ void SwTextShell::GetState( SfxItemSet &rSet )
break;
case SID_INSERT_RLM :
case SID_INSERT_LRM :
case SID_INSERT_ZWNBSP :
case SID_INSERT_ZWSP:
{
SvtCTLOptions aCTLOptions;
bool bEnabled = aCTLOptions.IsCTLFontEnabled();
......
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