Skip to content

Commit f41aba6

Browse files
minor code cleaning
DEVSIX-1267 Autoported commit. Original commit hash: [2a2555fb4]
1 parent a596674 commit f41aba6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

itext/itext.layout/itext/layout/margincollapse/MarginsCollapseHandler.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,6 @@ public virtual void EndMarginsCollapse(Rectangle layoutBox) {
221221
() && !lastKidCollapsedAfterHasClearanceApplied;
222222
if (lastChildMarginJoinedToParent) {
223223
ownCollapseAfter = prevChildMarginInfo.GetOwnCollapseAfter();
224-
if (ownCollapseAfter == null) {
225-
ownCollapseAfter = new MarginsCollapse();
226-
}
227224
}
228225
else {
229226
ownCollapseAfter = new MarginsCollapse();

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
832c0587ed1207573c2c22b3898b84bf713101cc
1+
2a2555fb406286086eabf68f2688653b7519387e

0 commit comments

Comments
 (0)