diff options
Diffstat (limited to 'interfaces/ktexteditor/wordwrapinterface.cpp')
-rw-r--r-- | interfaces/ktexteditor/wordwrapinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/ktexteditor/wordwrapinterface.cpp b/interfaces/ktexteditor/wordwrapinterface.cpp index 3afe5c230..6be76120b 100644 --- a/interfaces/ktexteditor/wordwrapinterface.cpp +++ b/interfaces/ktexteditor/wordwrapinterface.cpp @@ -66,5 +66,5 @@ WordWrapInterface *KTextEditor::wordWrapInterface (Document *doc) if (!doc) return 0; - return static_cast<WordWrapInterface*>(doc->qt_cast("KTextEditor::WordWrapInterface")); + return dynamic_cast<KTextEditor::WordWrapInterface*>(doc); } |