diff options
Diffstat (limited to 'interfaces/ktexteditor/markinterface.cpp')
-rw-r--r-- | interfaces/ktexteditor/markinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/ktexteditor/markinterface.cpp b/interfaces/ktexteditor/markinterface.cpp index d711b5245..024db35c4 100644 --- a/interfaces/ktexteditor/markinterface.cpp +++ b/interfaces/ktexteditor/markinterface.cpp @@ -65,7 +65,7 @@ MarkInterface *KTextEditor::markInterface (Document *doc) if (!doc) return 0; - return static_cast<MarkInterface*>(doc->qt_cast("KTextEditor::MarkInterface")); + return dynamic_cast<KTextEditor::MarkInterface*>(doc); } int MarkInterface::reservedMarkersCount() |