summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor/markinterfaceextension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/ktexteditor/markinterfaceextension.cpp')
-rw-r--r--interfaces/ktexteditor/markinterfaceextension.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/ktexteditor/markinterfaceextension.cpp b/interfaces/ktexteditor/markinterfaceextension.cpp
index 57c981421..86538abfc 100644
--- a/interfaces/ktexteditor/markinterfaceextension.cpp
+++ b/interfaces/ktexteditor/markinterfaceextension.cpp
@@ -65,5 +65,5 @@ MarkInterfaceExtension *KTextEditor::markInterfaceExtension (Document *doc)
if (!doc)
return 0;
- return static_cast<MarkInterfaceExtension*>(doc->qt_cast("KTextEditor::MarkInterfaceExtension"));
+ return dynamic_cast<KTextEditor::MarkInterfaceExtension*>(doc);
}