summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-26 09:37:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-26 10:18:25 +0100
commit25059614396d14b81a28830ef2719e6b2e611124 (patch)
tree51e4ba84bf91104f2cf52a12684d406ce8892bd2 /sw
parent4e0b45d2756bd11a99f97d9b3676d814c8692e5e (diff)
coverity#705269 Missing break in switch
Change-Id: I574ea32f23d60a185e915d32bd163fe4ea7bd6aa
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/undo/undobj1.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/undo/undobj1.cxx b/sw/source/core/undo/undobj1.cxx
index ce25ce71fa81..126807d5676c 100644
--- a/sw/source/core/undo/undobj1.cxx
+++ b/sw/source/core/undo/undobj1.cxx
@@ -660,6 +660,7 @@ void SwUndoSetFlyFmt::PutAttr( sal_uInt16 nWhich, const SfxPoolItem* pItem )
case FLY_AS_CHAR:
case FLY_AT_CHAR:
nNewCntnt = pAnchor->GetCntntAnchor()->nContent.GetIndex();
+ //fall-through
case FLY_AT_PARA:
case FLY_AT_FLY:
nNewNode = pAnchor->GetCntntAnchor()->nNode.GetIndex();