summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPixmapObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrPixmapObject.cpp')
-rw-r--r--kpresenter/KPrPixmapObject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpresenter/KPrPixmapObject.cpp b/kpresenter/KPrPixmapObject.cpp
index d64c5b603..0a4c89210 100644
--- a/kpresenter/KPrPixmapObject.cpp
+++ b/kpresenter/KPrPixmapObject.cpp
@@ -359,7 +359,7 @@ void KPrPixmapObject::loadOasis(const TQDomElement &element, KoOasisContext & co
if ( !href.isEmpty() /*&& href[0] == '#'*/ )
{
TQString strExtension;
- const int result=href.tqfindRev(".");
+ const int result=href.findRev(".");
if (result>=0)
{
strExtension=href.mid(result+1); // As we are using KoPicture, the extension should be without the dot.
@@ -416,12 +416,12 @@ double KPrPixmapObject::load(const TQDomElement &element)
_fileName=e.attribute("filename");
if ( !_fileName.isEmpty() )
{
- if ( int _envVarB = _fileName.tqfind( '$' ) >= 0 )
+ if ( int _envVarB = _fileName.find( '$' ) >= 0 )
{
- int _envVarE = _fileName.tqfind( '/', _envVarB );
+ int _envVarE = _fileName.find( '/', _envVarB );
// ### FIXME: it should be TQString::local8Bit instead of TQFile::encodeName, shouldn't it?
TQString path = getenv( TQFile::encodeName(_fileName.mid( _envVarB, _envVarE-_envVarB )) );
- _fileName.tqreplace( _envVarB-1, _envVarE-_envVarB+1, path );
+ _fileName.replace( _envVarB-1, _envVarE-_envVarB+1, path );
}
}