summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGDocumentImpl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/impl/SVGDocumentImpl.cc')
-rw-r--r--ksvg/impl/SVGDocumentImpl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksvg/impl/SVGDocumentImpl.cc b/ksvg/impl/SVGDocumentImpl.cc
index 2b0383ec..4e541847 100644
--- a/ksvg/impl/SVGDocumentImpl.cc
+++ b/ksvg/impl/SVGDocumentImpl.cc
@@ -252,7 +252,7 @@ void SVGDocumentImpl::slotSVGContent(TQIODevice *dev)
args.getURLMode = false;
TQString url = m_baseURL.prettyURL();
- int pos = url.tqfind('#'); // url can become like this.svg#svgView(viewBox(63,226,74,74)), get part after '#'
+ int pos = url.find('#'); // url can become like this.svg#svgView(viewBox(63,226,74,74)), get part after '#'
if(pos > -1)
args.SVGFragmentId = url.mid(pos + 1);
@@ -358,7 +358,7 @@ void SVGDocumentImpl::checkFinishedLoading()
void SVGDocumentImpl::addForwardReferencingUseElement(SVGUseElementImpl *use)
{
- if(!m_forwardReferencingUseElements.tqcontains(use))
+ if(!m_forwardReferencingUseElements.contains(use))
m_forwardReferencingUseElements.append(use);
}