mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Migitated some null risks
This commit is contained in:
@@ -72,11 +72,11 @@ public class HaDocumentWrapper : IHaDocumentWrappper {
|
||||
rd.Read();
|
||||
if (state.Results != null)
|
||||
res.Add((
|
||||
letter.Index,
|
||||
letter.Index,
|
||||
state.Results.Select(x => (
|
||||
x.Page,
|
||||
x.Line,
|
||||
parser.Lines != null ?
|
||||
x.Page,
|
||||
x.Line,
|
||||
parser.Lines != null ?
|
||||
parser.Lines
|
||||
.Where(y => y.Page == x.Page && y.Line == x.Line)
|
||||
.Select(x => x.Text)
|
||||
|
||||
Reference in New Issue
Block a user