summaryrefslogtreecommitdiffstats
path: root/khtml/html/html_objectimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/html/html_objectimpl.cpp')
-rw-r--r--khtml/html/html_objectimpl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/khtml/html/html_objectimpl.cpp b/khtml/html/html_objectimpl.cpp
index a4c1920ac..106a862e9 100644
--- a/khtml/html/html_objectimpl.cpp
+++ b/khtml/html/html_objectimpl.cpp
@@ -57,7 +57,7 @@ HTMLObjectBaseElementImpl::HTMLObjectBaseElementImpl(DocumentImpl *doc)
void HTMLObjectBaseElementImpl::setServiceType(const TQString & val) {
serviceType = val.lower();
- int pos = serviceType.tqfind( ";" );
+ int pos = serviceType.find( ";" );
if ( pos!=-1 )
serviceType.truncate( pos );
}
@@ -160,9 +160,9 @@ void HTMLObjectBaseElementImpl::attach() {
if (serviceType.isEmpty() && url.startsWith("data:")) {
// Extract the MIME type from the data URL.
- int index = url.tqfind(';');
+ int index = url.find(';');
if (index == -1)
- index = url.tqfind(',');
+ index = url.find(',');
if (index != -1) {
int len = index - 5;
if (len > 0)