Skip to content

Commit 6f2eafa

Browse files
Egor MartsynkovskyiText-CI
authored andcommitted
Remove ToDo
DEVSIX-6452 Autoported commit. Original commit hash: [31ca217e8]
1 parent b64f5f7 commit 6f2eafa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

itext/itext.layout/itext/layout/renderer/AbstractRenderer.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ public virtual T1 GetProperty<T1>(int key) {
297297
(key))) {
298298
return (T1)property;
299299
}
300-
// TODO in some situations we will want to check inheritance with additional info, such as parent and descendant.
301300
if (parent != null && Property.IsPropertyInherited(key) && (property = parent.GetProperty<T1>(key)) != null
302301
) {
303302
return (T1)property;
@@ -1667,7 +1666,6 @@ protected internal virtual void UpdateMinHeight(UnitValue updatedMinHeight) {
16671666
if (value != null) {
16681667
if (value.GetUnitType() == UnitValue.PERCENT) {
16691668
// during mathematical operations the precision can be lost, so avoiding them if possible (100 / 100 == 1) is a good practice
1670-
// TODO Maybe decrease the result value by AbstractRenderer.EPS ?
16711669
return value.GetValue() != 100 ? baseValue * value.GetValue() / 100 : baseValue;
16721670
}
16731671
else {

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
517e37afe61c39f6862def5761354e3a093124bd
1+
31ca217e8cab592d2350d4b8875a8757bd5d7d8d

0 commit comments

Comments
 (0)