diff options
Diffstat (limited to 'lib/store/KoDirectoryStore.cpp')
-rw-r--r-- | lib/store/KoDirectoryStore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/store/KoDirectoryStore.cpp b/lib/store/KoDirectoryStore.cpp index 8cf30788..76e5aa72 100644 --- a/lib/store/KoDirectoryStore.cpp +++ b/lib/store/KoDirectoryStore.cpp @@ -27,7 +27,7 @@ KoDirectoryStore::KoDirectoryStore( const TQString& path, Mode _mode ) : m_basePath( path ) { - const int pos = path.tqfindRev( '/' ); + const int pos = path.findRev( '/' ); // The parameter must include "maindoc.xml" or "content.xml" if ( pos != -1 && pos != (int)m_basePath.length()-1 ) m_basePath = m_basePath.left( pos ); @@ -60,7 +60,7 @@ bool KoDirectoryStore::init( Mode _mode ) bool KoDirectoryStore::openReadOrWrite( const TQString& name, int iomode ) { //kdDebug(s_area) << "KoDirectoryStore::openReadOrWrite m_currentPath=" << m_currentPath << " name=" << name << endl; - int pos = name.tqfindRev('/'); + int pos = name.findRev('/'); if ( pos != -1 ) // there are subdirs in the name -> maybe need to create them, when writing { pushDirectory(); // remember where we were |