summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-11 16:14:24 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-05-13 06:45:57 +0000
commit02af67f6e43fa86e7e6faed7eaec4178396e36a3 (patch)
tree3ab1e04d403c42fa0bbbee49ec629f6ac007ccfd /sw
parent33fe9e6da9241aacac6816cbb5211f4d5fa7fba1 (diff)
Missing break in switch
caused by c2ea2e6ca99395cc6d9ea8f2edf009252dc87957 "coverity#704901 Dereference after null check" Change-Id: I7e53493bcb2857ccc840429cd2fd2e802180aa19 (cherry picked from commit 838994da2af5f069654456dc86c5ffbc4322c37c) Reviewed-on: https://gerrit.libreoffice.org/24920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/fly.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 57c7d1d036be..5bb29a5778d7 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -820,8 +820,8 @@ void SwFlyFrame::_UpdateAttr( const SfxPoolItem *pOld, const SfxPoolItem *pNew,
if ( FrameSizeChg( rNew ) )
NotifyDrawObj();
rInvFlags |= 0x1A;
- break;
}
+ break;
case RES_FRM_SIZE:
case RES_FMT_CHG: