aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Document.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Document.cxx b/src/Document.cxx
index 2d1acd7e1..4f086af4b 100644
--- a/src/Document.cxx
+++ b/src/Document.cxx
@@ -225,27 +225,27 @@ void Document::RemoveLine(Sci::Line line) {
}
LineMarkers *Document::Markers() const noexcept {
- return dynamic_cast<LineMarkers *>(perLineData[ldMarkers].get());
+ return static_cast<LineMarkers *>(perLineData[ldMarkers].get());
}
LineLevels *Document::Levels() const noexcept {
- return dynamic_cast<LineLevels *>(perLineData[ldLevels].get());
+ return static_cast<LineLevels *>(perLineData[ldLevels].get());
}
LineState *Document::States() const noexcept {
- return dynamic_cast<LineState *>(perLineData[ldState].get());
+ return static_cast<LineState *>(perLineData[ldState].get());
}
LineAnnotation *Document::Margins() const noexcept {
- return dynamic_cast<LineAnnotation *>(perLineData[ldMargin].get());
+ return static_cast<LineAnnotation *>(perLineData[ldMargin].get());
}
LineAnnotation *Document::Annotations() const noexcept {
- return dynamic_cast<LineAnnotation *>(perLineData[ldAnnotation].get());
+ return static_cast<LineAnnotation *>(perLineData[ldAnnotation].get());
}
LineAnnotation *Document::EOLAnnotations() const noexcept {
- return dynamic_cast<LineAnnotation *>(perLineData[ldEOLAnnotation].get());
+ return static_cast<LineAnnotation *>(perLineData[ldEOLAnnotation].get());
}
LineEndType Document::LineEndTypesSupported() const {