summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-11 13:43:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-11 13:53:25 +0000
commit39831d90d9c3d0f714e39ef11799fabe8cc13563 (patch)
tree3283e09f6baeb23eca002820fd79cca4e5f15c52 /forms
parent25b7ed03d8b0fda45f5e9e2d0190e418ec366016 (diff)
coverity#704232 Logically dead code
these conditions are already handled in the switch above Change-Id: I1a2bfe4cc536f2d1292fd39b86afc53ac5463308
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/richtextcontrol.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index bbb5403f1d6d..44829c67fafc 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -579,13 +579,6 @@ namespace frm
{
bNeedParametrizedDispatcher = true;
}
- else if ( ( _nSlotId == SID_ATTR_PARA_HANGPUNCTUATION )
- || ( _nSlotId == SID_ATTR_PARA_FORBIDDEN_RULES )
- || ( _nSlotId == SID_ATTR_PARA_SCRIPTSPACE )
- )
- {
- bNeedParametrizedDispatcher = false;
- }
else
{
SfxSlotPool& rSlotPool = SfxSlotPool::GetSlotPool( NULL );