summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2017-04-22 01:09:24 +0400
committerKhaled Hosny <khaledhosny@eglug.org>2017-04-23 13:30:13 +0200
commitf586c7ec352b3b7b23dba0e1e774d85b1c14e2b7 (patch)
treeab011fe8680323aab2588de9389e498c6421c68f /sd
parentdff3d8ca4c17a649d2ac6ced448df9c784497d41 (diff)
tdf#104610 Always enabled no-width break formatting marks
Change-Id: I0708a61d43bfa44dac19683b200975e3a6da788a Reviewed-on: https://gerrit.libreoffice.org/36807 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/fubullet.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/func/fubullet.cxx b/sd/source/ui/func/fubullet.cxx
index fa1c343f45b0..b0c24ddc925b 100644
--- a/sd/source/ui/func/fubullet.cxx
+++ b/sd/source/ui/func/fubullet.cxx
@@ -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 );
}
}
}