summaryrefslogtreecommitdiffstats
path: root/lib/kformula/fontstyle.cc
diff options
context:
space:
mode:
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;
};