summaryrefslogtreecommitdiffstats
path: root/lib/kformula/fontstyle.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 /lib/kformula/fontstyle.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 'lib/kformula/fontstyle.cc')
-rw-r--r--lib/kformula/fontstyle.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kformula/fontstyle.cc b/lib/kformula/fontstyle.cc
index 57088fef..0e37028a 100644
--- a/lib/kformula/fontstyle.cc
+++ b/lib/kformula/fontstyle.cc
@@ -56,11 +56,11 @@ public:
const TQStringList lst = db.tqfamilies();
for ( TQStringList::const_iterator it = lst.begin(), end = lst.end() ; it != end ; ++it ) {
const TQString name = *it;
- int i = name.tqfind('[');
+ int i = name.find('[');
TQString family = name;
// Remove foundry
if ( i > -1 ) {
- const int li = name.tqfindRev(']');
+ const int li = name.findRev(']');
if (i < li) {
if (name[i - 1] == ' ')
i--;
@@ -71,7 +71,7 @@ public:
}
}
bool hasFont( const TQString& fontName ) const {
- return m_fontNames.tqfind( fontName ) != m_fontNames.end();
+ return m_fontNames.find( fontName ) != m_fontNames.end();
}
TQStringList m_fontNames;
};