summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-10 11:04:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-10 11:21:14 +0000
commitd6c590bb995aa8029e6fb3597081e8098d672789 (patch)
tree60daf274b1fb0ec7449a8986679b6f308843286e /sw
parent5ac9d90f0ab4877c391913a714befefb492fb42b (diff)
coverity#705268 Missing break in switch
Change-Id: I496b5be27a3817b05dd011a2c0973ce2fb639c3b
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/undo/unattr.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/undo/unattr.cxx b/sw/source/core/undo/unattr.cxx
index c5f107644737..264d4fa7c576 100644
--- a/sw/source/core/undo/unattr.cxx
+++ b/sw/source/core/undo/unattr.cxx
@@ -421,6 +421,7 @@ void SwUndoFmtAttr::SaveFlyAnchor( bool bSvDrwPt )
case FLY_AS_CHAR:
case FLY_AT_CHAR:
nCntnt = rAnchor.GetCntntAnchor()->nContent.GetIndex();
+ // fallthrough
case FLY_AT_PARA:
case FLY_AT_FLY:
m_nNodeIndex = rAnchor.GetCntntAnchor()->nNode.GetIndex();