summaryrefslogtreecommitdiffstats
path: root/khtml/dom
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/dom')
-rw-r--r--khtml/dom/css_value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/khtml/dom/css_value.cpp b/khtml/dom/css_value.cpp
index 20faff88a..90d1b1570 100644
--- a/khtml/dom/css_value.cpp
+++ b/khtml/dom/css_value.cpp
@@ -126,7 +126,7 @@ void CSSStyleDeclaration::setProperty( const DOMString &propName, const DOMStrin
if (!id) return;
bool important = false;
TQString str = priority.string();
- if (str.tqfind("important", 0, false) != -1)
+ if (str.find("important", 0, false) != -1)
important = true;
static_cast<CSSStyleDeclarationImpl *>(impl)->setProperty( id, value, important );