summaryrefslogtreecommitdiffstats
path: root/filters/kspread/excel
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /filters/kspread/excel
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filters/kspread/excel')
-rw-r--r--filters/kspread/excel/import/excelimport.cc2
-rw-r--r--filters/kspread/excel/sidewinder/excel.cpp20
-rw-r--r--filters/kspread/excel/sidewinder/excel.h2
-rw-r--r--filters/kspread/excel/sidewinder/ustring.cpp2
-rw-r--r--filters/kspread/excel/sidewinder/ustring.h2
5 files changed, 14 insertions, 14 deletions
diff --git a/filters/kspread/excel/import/excelimport.cc b/filters/kspread/excel/import/excelimport.cc
index 88a20e33..f1bade9e 100644
--- a/filters/kspread/excel/import/excelimport.cc
+++ b/filters/kspread/excel/import/excelimport.cc
@@ -692,7 +692,7 @@ void ExcelImport::Private::processCellForStyle( Cell* cell, KoXmlWriter* xmlWrit
if( !xmlWriter ) return;
// only IF automatic style for this format has not been already created yet
- if( !styleFormats.tqcontains( cell->formatIndex() ) )
+ if( !styleFormats.contains( cell->formatIndex() ) )
{
styleFormats[ cell->formatIndex() ] = true;
diff --git a/filters/kspread/excel/sidewinder/excel.cpp b/filters/kspread/excel/sidewinder/excel.cpp
index 7d128a5b..c201ea27 100644
--- a/filters/kspread/excel/sidewinder/excel.cpp
+++ b/filters/kspread/excel/sidewinder/excel.cpp
@@ -5520,11 +5520,11 @@ void ExcelReader::handleFooter( FooterRecord* record )
int pos = -1, len = 0;
// left part
- pos = footer.tqfind( UString("&L") );
+ pos = footer.find( UString("&L") );
if( pos >= 0 )
{
pos += 2;
- len = footer.tqfind( UString("&C") ) - pos;
+ len = footer.find( UString("&C") ) - pos;
if( len > 0 )
{
left = footer.substr( pos, len );
@@ -5533,11 +5533,11 @@ void ExcelReader::handleFooter( FooterRecord* record )
}
// center part
- pos = footer.tqfind( UString("&C") );
+ pos = footer.find( UString("&C") );
if( pos >= 0 )
{
pos += 2;
- len = footer.tqfind( UString("&R") ) - pos;
+ len = footer.find( UString("&R") ) - pos;
if( len > 0 )
{
center = footer.substr( pos, len );
@@ -5546,7 +5546,7 @@ void ExcelReader::handleFooter( FooterRecord* record )
}
// right part
- pos = footer.tqfind( UString("&R") );
+ pos = footer.find( UString("&R") );
if( pos >= 0 )
{
pos += 2;
@@ -5569,11 +5569,11 @@ void ExcelReader::handleHeader( HeaderRecord* record )
int pos = -1, len = 0;
// left part of the header
- pos = header.tqfind( UString("&L") );
+ pos = header.find( UString("&L") );
if( pos >= 0 )
{
pos += 2;
- len = header.tqfind( UString("&C") ) - pos;
+ len = header.find( UString("&C") ) - pos;
if( len > 0 )
{
left = header.substr( pos, len );
@@ -5582,11 +5582,11 @@ void ExcelReader::handleHeader( HeaderRecord* record )
}
// center part of the header
- pos = header.tqfind( UString("&C") );
+ pos = header.find( UString("&C") );
if( pos >= 0 )
{
pos += 2;
- len = header.tqfind( UString("&R") ) - pos;
+ len = header.find( UString("&R") ) - pos;
if( len > 0 )
{
center = header.substr( pos, len );
@@ -5595,7 +5595,7 @@ void ExcelReader::handleHeader( HeaderRecord* record )
}
// right part of the header
- pos = header.tqfind( UString("&R") );
+ pos = header.find( UString("&R") );
if( pos >= 0 )
{
pos += 2;
diff --git a/filters/kspread/excel/sidewinder/excel.h b/filters/kspread/excel/sidewinder/excel.h
index 8450d643..c114aa80 100644
--- a/filters/kspread/excel/sidewinder/excel.h
+++ b/filters/kspread/excel/sidewinder/excel.h
@@ -1838,7 +1838,7 @@ private:
/**
- Class MergedCellsRecord represents MergedCells record, which tqcontains
+ Class MergedCellsRecord represents MergedCells record, which contains
a list of all merged cells in the current sheets. Each entry in this list
define the range of cells that should be merged, namely firstRow, lastRow,
firstColumn and lastColumn.
diff --git a/filters/kspread/excel/sidewinder/ustring.cpp b/filters/kspread/excel/sidewinder/ustring.cpp
index 497bc586..b26ee196 100644
--- a/filters/kspread/excel/sidewinder/ustring.cpp
+++ b/filters/kspread/excel/sidewinder/ustring.cpp
@@ -492,7 +492,7 @@ UString UString::substr(int pos, int len) const
return result;
}
-int UString::tqfind(const UString &f, int pos) const
+int UString::find(const UString &f, int pos) const
{
if (isNull())
return -1;
diff --git a/filters/kspread/excel/sidewinder/ustring.h b/filters/kspread/excel/sidewinder/ustring.h
index 0643400d..1c4f2bc5 100644
--- a/filters/kspread/excel/sidewinder/ustring.h
+++ b/filters/kspread/excel/sidewinder/ustring.h
@@ -333,7 +333,7 @@ namespace Swinder {
* @return Position of first occurence of f starting at position pos.
* -1 if the search was not successful.
*/
- int tqfind(const UString &f, int pos = 0) const;
+ int find(const UString &f, int pos = 0) const;
/**
* Static instance of a null string.