summaryrefslogtreecommitdiffstats
path: root/kode/kxml_compiler/kxml_compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kxml_compiler/kxml_compiler.cpp')
-rw-r--r--kode/kxml_compiler/kxml_compiler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kode/kxml_compiler/kxml_compiler.cpp b/kode/kxml_compiler/kxml_compiler.cpp
index a4f8178b3..71720d6b9 100644
--- a/kode/kxml_compiler/kxml_compiler.cpp
+++ b/kode/kxml_compiler/kxml_compiler.cpp
@@ -83,7 +83,7 @@ int main( int argc, char **argv )
TQString dtdFilename = args->url( 0 ).path();
TQString baseName = args->url( 0 ).fileName();
- int pos = baseName.tqfindRev( '.' );
+ int pos = baseName.findRev( '.' );
if ( pos > 0 ) baseName = baseName.left( pos );
@@ -143,7 +143,7 @@ int main( int argc, char **argv )
for( it = start->elements.begin(); it != start->elements.end(); ++it ) {
c.setExternalClassPrefix( c.upperFirst( (*it)->name ) );
c.createFileParser( *it );
- c.createFileWriter( *it, dtdFilename.tqreplace( "rng", "dtd" ) );
+ c.createFileWriter( *it, dtdFilename.replace( "rng", "dtd" ) );
}
c.createListTypedefs();