Skip to content

Commit 8b19ef5

Browse files
Copilot1fabi0
andcommitted
Final cleanup - fix additional nullability warnings
Co-authored-by: 1fabi0 <58549442+1fabi0@users.noreply.github.com>
1 parent 86d7412 commit 8b19ef5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Source/OpenQuestPDF/Elements/Text/Calculation/TextDrawingRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ namespace OpenQuestPDF.Elements.Text.Calculation
55
{
66
internal class TextDrawingRequest
77
{
8-
public ICanvas Canvas { get; set; }
9-
public IPageContext PageContext { get; set; }
8+
public ICanvas Canvas { get; set; } = null!;
9+
public IPageContext PageContext { get; set; } = null!;
1010

1111
public int StartIndex { get; set; }
1212
public int EndIndex { get; set; }

Source/OpenQuestPDF/Elements/Text/Calculation/TextMeasurementRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ namespace OpenQuestPDF.Elements.Text.Calculation
44
{
55
internal class TextMeasurementRequest
66
{
7-
public ICanvas Canvas { get; set; }
8-
public IPageContext PageContext { get; set; }
7+
public ICanvas Canvas { get; set; } = null!;
8+
public IPageContext PageContext { get; set; } = null!;
99

1010
public int StartIndex { get; set; }
1111
public float AvailableWidth { get; set; }

0 commit comments

Comments
 (0)