diff options
Diffstat (limited to 'tdehtml/html')
-rw-r--r-- | tdehtml/html/html_baseimpl.cpp | 4 | ||||
-rw-r--r-- | tdehtml/html/html_objectimpl.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tdehtml/html/html_baseimpl.cpp b/tdehtml/html/html_baseimpl.cpp index 16ca7a23b..e8150a387 100644 --- a/tdehtml/html/html_baseimpl.cpp +++ b/tdehtml/html/html_baseimpl.cpp @@ -414,7 +414,7 @@ DocumentImpl* HTMLFrameElementImpl::contentDocument() const RenderPart* render = static_cast<RenderPart*>( m_render ); - if(render->widget() && ::tqqt_cast<TDEHTMLView*>( render->widget()) ) + if(render->widget() && ::tqt_cast<TDEHTMLView*>( render->widget()) ) return static_cast<TDEHTMLView*>( render->widget() )->part()->xmlDocImpl(); return 0; @@ -426,7 +426,7 @@ TDEHTMLPart* HTMLFrameElementImpl::contentPart() const RenderPart* render = static_cast<RenderPart*>( m_render ); - if(render->widget() && ::tqqt_cast<TDEHTMLView*>( render->widget()) ) + if(render->widget() && ::tqt_cast<TDEHTMLView*>( render->widget()) ) return static_cast<TDEHTMLView*>( render->widget() )->part(); return 0; diff --git a/tdehtml/html/html_objectimpl.cpp b/tdehtml/html/html_objectimpl.cpp index f2cf8c1db..864de8ed7 100644 --- a/tdehtml/html/html_objectimpl.cpp +++ b/tdehtml/html/html_objectimpl.cpp @@ -422,7 +422,7 @@ DocumentImpl* HTMLObjectElementImpl::contentDocument() const if ( !m_render ) return 0; if ( !m_render->isWidget() ) return 0; TQWidget* widget = static_cast<RenderWidget*>( m_render )->widget(); - if( widget && ::tqqt_cast<TDEHTMLView*>( widget ) ) + if( widget && ::tqt_cast<TDEHTMLView*>( widget ) ) return static_cast<TDEHTMLView*>( widget )->part()->xmlDocImpl(); return 0; } |