summaryrefslogtreecommitdiffstats
path: root/filters/kspread/gnumeric/gnumericexport.cc
diff options
context:
space:
mode:
Diffstat (limited to 'filters/kspread/gnumeric/gnumericexport.cc')
-rw-r--r--filters/kspread/gnumeric/gnumericexport.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/filters/kspread/gnumeric/gnumericexport.cc b/filters/kspread/gnumeric/gnumericexport.cc
index beb78879f..cccfcc9fc 100644
--- a/filters/kspread/gnumeric/gnumericexport.cc
+++ b/filters/kspread/gnumeric/gnumericexport.cc
@@ -1340,8 +1340,8 @@ KoFilter::ConversiontqStatus GNUMERICExport::convert( const TQCString& from, con
if ( cell->isFormula() )
{
TQString tmp = cell->text();
- if ( tmp.tqcontains( "==" ) )
- tmp=tmp.tqreplace( "==", "=" );
+ if ( tmp.contains( "==" ) )
+ tmp=tmp.replace( "==", "=" );
text = tmp;
isLink = false;
}
@@ -1406,7 +1406,7 @@ KoFilter::ConversiontqStatus GNUMERICExport::convert( const TQCString& from, con
isLink = false;
TQString tmp = cell->text();
if ( tmp =="==" )
- tmp=tqreplace( "==", "=" );
+ tmp=replace( "==", "=" );
/* cell->calc( TRUE ); // Incredible, cells are not calculated if the document was just opened text = cell->valueString(); */
text = tmp;
break;
@@ -1561,12 +1561,12 @@ TQString GNUMERICExport::convertRefToBase( const TQString & table, const TQRect
TQString GNUMERICExport::convertVariable( TQString headerFooter )
{
- headerFooter = headerFooter.tqreplace( "<sheet>", "&[TAB]" );
- headerFooter = headerFooter.tqreplace( "<date>", "&[DATE]" );
- headerFooter = headerFooter.tqreplace( "<page>", "&[PAGE]" );
- headerFooter = headerFooter.tqreplace( "<pages>", "&[PAGES]" );
- headerFooter = headerFooter.tqreplace( "<time>", "&[TIME]" );
- headerFooter = headerFooter.tqreplace( "<file>", "&[FILE]" );
+ headerFooter = headerFooter.replace( "<sheet>", "&[TAB]" );
+ headerFooter = headerFooter.replace( "<date>", "&[DATE]" );
+ headerFooter = headerFooter.replace( "<page>", "&[PAGE]" );
+ headerFooter = headerFooter.replace( "<pages>", "&[PAGES]" );
+ headerFooter = headerFooter.replace( "<time>", "&[TIME]" );
+ headerFooter = headerFooter.replace( "<file>", "&[FILE]" );
return headerFooter;
}