[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Wed May 11 14:11:49 UTC 2016
sw/source/core/doc/docfly.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e5b404fcde3b177a36ed138e2cc541d6210eb11e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 11 16:10:35 2016 +0200
Looks like SAL_FALLTHROUGH is intended here
...given how 85789fbad4d47007e27db277839fdc12b9eb09a7 "Fix #85710#: Changing
content anchor but not anchor type" changed the code
Change-Id: Id19b277ecbc4f39577cc622a486c58ee15bdc520
diff --git a/sw/source/core/doc/docfly.cxx b/sw/source/core/doc/docfly.cxx
index ae17ec2..e749759 100644
--- a/sw/source/core/doc/docfly.cxx
+++ b/sw/source/core/doc/docfly.cxx
@@ -423,7 +423,7 @@ lcl_SetFlyFrameAttr(SwDoc & rDoc,
case RES_ANCHOR:
if( DONTMAKEFRMS != nMakeFrames )
break;
-
+ SAL_FALLTHROUGH;
default:
if( !IsInvalidItem( aIter.GetCurItem() ) && ( SfxItemState::SET !=
rFlyFormat.GetAttrSet().GetItemState( nWhich, true, &pItem ) ||
More information about the Libreoffice-commits
mailing list