summaryrefslogtreecommitdiffstats
path: root/filters/kword/oowriter/oowriterimport.cc
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/kword/oowriter/oowriterimport.cc
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/kword/oowriter/oowriterimport.cc')
-rw-r--r--filters/kword/oowriter/oowriterimport.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/filters/kword/oowriter/oowriterimport.cc b/filters/kword/oowriter/oowriterimport.cc
index 4304f346c..e1aeda783 100644
--- a/filters/kword/oowriter/oowriterimport.cc
+++ b/filters/kword/oowriter/oowriterimport.cc
@@ -1131,7 +1131,7 @@ void OoWriterImport::parseSpanOrSimilar( TQDomDocument& doc, const TQDomElement&
}
else if ( isTextNS && localName == "bookmark-end" ) {
TQString bkName = ts.attributeNS( ooNS::text, "name", TQString() );
- BookmarkStartsMap::iterator it = m_bookmarkStarts.tqfind( bkName );
+ BookmarkStartsMap::iterator it = m_bookmarkStarts.find( bkName );
if ( it == m_bookmarkStarts.end() ) { // bookmark end without start. This seems to happen..
// insert simple bookmark then
appendBookmark( doc, numberOfParagraphs( m_currentFrameset ),
@@ -1811,7 +1811,7 @@ TQString OoWriterImport::appendPicture(TQDomDocument& doc, const TQDomElement& o
if ( 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.
@@ -1953,7 +1953,7 @@ void OoWriterImport::appendField(TQDomDocument& doc, TQDomElement& outputFormats
{
TQString dataStyleName = object.attributeNS( ooNS::style, "data-style-name", TQString() );
TQString dateFormat = "locale";
- DataFormatsMap::const_iterator it = m_dateTimeFormats.tqfind( dataStyleName );
+ DataFormatsMap::const_iterator it = m_dateTimeFormats.find( dataStyleName );
if ( it != m_dateTimeFormats.end() )
dateFormat = (*it);
@@ -2234,7 +2234,7 @@ void OoWriterImport::parseTable( TQDomDocument &doc, const TQDomElement& tqparen
repeat=1; // At least one column defined!
const TQString styleName ( elem.attributeNS( ooNS::table, "style-name", TQString()) );
kdDebug(30518) << "Column " << col << " style " << styleName << endl;
- const TQDomElement* style=m_styles.tqfind(styleName);
+ const TQDomElement* style=m_styles.find(styleName);
double width=0.0;
if (style)
{
@@ -2481,7 +2481,7 @@ TQString OoWriterImport::kWordStyleName( const TQString& ooStyleName )
{
if ( ooStyleName.startsWith( "Contents " ) ) {
TQString s( ooStyleName );
- return s.tqreplace( 0, 9, TQString("Contents Head ") ); // Awful hack for KWord's broken "update TOC" feature
+ return s.replace( 0, 9, TQString("Contents Head ") ); // Awful hack for KWord's broken "update TOC" feature
} else {
return ooStyleName;
}