diff options
Diffstat (limited to 'interfaces/ktexteditor/editinterfaceext.cpp')
-rw-r--r-- | interfaces/ktexteditor/editinterfaceext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/ktexteditor/editinterfaceext.cpp b/interfaces/ktexteditor/editinterfaceext.cpp index 7d4acf55f..008fa488d 100644 --- a/interfaces/ktexteditor/editinterfaceext.cpp +++ b/interfaces/ktexteditor/editinterfaceext.cpp @@ -45,6 +45,6 @@ EditInterfaceExt *KTextEditor::editInterfaceExt (Document *doc) if (!doc) return 0; - return static_cast<EditInterfaceExt*>(doc->qt_cast("KTextEditor::EditInterfaceExt")); + return dynamic_cast<KTextEditor::EditInterfaceExt*>(doc); } |