Skip to content

Commit ef93b32

Browse files
kjkclaude
andcommitted
remove noisy ReportIf for empty page size in ZoomRealFromVirtualForPage
The condition is already handled gracefully by returning 0. Triggered by CBR files with zero-dimension pages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 91b8041 commit ef93b32

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/DisplayModel.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,6 @@ float DisplayModel::ZoomRealFromVirtualForPage(float zoomVirtual, int pageNo) co
591591
row.dx += (double)pageSpacing.dx * (double)(columns - 1);
592592
}
593593

594-
ReportIf(RectF(PointF(), row).IsEmpty());
595594
if (RectF(PointF(), row).IsEmpty()) {
596595
return 0;
597596
}

0 commit comments

Comments
 (0)