diff --git a/khtml/dom/html_document.cpp b/khtml/dom/html_document.cpp
index d1a15639a83fab2a880af0b73de2739b733e729e..e3cb061ac96cd05d468cc75ae5ba16b66b4c51d1 100644
--- a/khtml/dom/html_document.cpp
+++ b/khtml/dom/html_document.cpp
@@ -87,9 +87,10 @@ DOMString HTMLDocument::title() const
return static_cast(impl)->title();
}
-void HTMLDocument::setTitle( const DOMString &/*value*/ )
+void HTMLDocument::setTitle( const DOMString &value )
{
- // ###
+ if (impl)
+ static_cast(impl)->setTitle(value);
}
DOMString HTMLDocument::referrer() const