diff options
Diffstat (limited to 'ksvg/impl/SVGURIReferenceImpl.cc')
-rw-r--r-- | ksvg/impl/SVGURIReferenceImpl.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksvg/impl/SVGURIReferenceImpl.cc b/ksvg/impl/SVGURIReferenceImpl.cc index 8a6fda76..52db7a86 100644 --- a/ksvg/impl/SVGURIReferenceImpl.cc +++ b/ksvg/impl/SVGURIReferenceImpl.cc @@ -50,7 +50,7 @@ SVGAnimatedStringImpl *SVGURIReferenceImpl::href() const bool SVGURIReferenceImpl::parseURIReference(const TQString &urireference, TQString &uri, TQString &elementreference) { - int seperator = urireference.find("#"); + int seperator = urireference.tqfind("#"); if(seperator == -1) return false; @@ -71,14 +71,14 @@ TQString SVGURIReferenceImpl::getTarget(const TQString &url) { if(url.startsWith("url(")) // URI References, ie. fill:url(#target) { - unsigned int start = url.find("#") + 1; - unsigned int end = url.findRev(")"); + unsigned int start = url.tqfind("#") + 1; + unsigned int end = url.tqfindRev(")"); return url.mid(start, end - start); } - else if(url.find("#") > -1) // format is #target + else if(url.tqfind("#") > -1) // format is #target { - unsigned int start = url.find("#") + 1; + unsigned int start = url.tqfind("#") + 1; return url.mid(start, url.length() - start); } |