summaryrefslogtreecommitdiffstats
path: root/lib/kotext/kohyphen
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/kotext/kohyphen
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/kotext/kohyphen')
-rw-r--r--lib/kotext/kohyphen/kohyphen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kotext/kohyphen/kohyphen.cpp b/lib/kotext/kohyphen/kohyphen.cpp
index d8a0374e..abb00a29 100644
--- a/lib/kotext/kohyphen/kohyphen.cpp
+++ b/lib/kotext/kohyphen/kohyphen.cpp
@@ -177,10 +177,10 @@ HyphenDict *KoHyphenator::dict(const TQString &_lang) const
if ( underscore > -1 ) {
lang.truncate( underscore );
if (encodings.find(lang) == encodings.end())
- throw KoHyphenatorException( TQString("No dictionary for %1").tqarg(lang) );
+ throw KoHyphenatorException( TQString("No dictionary for %1").arg(lang) );
}
else
- throw KoHyphenatorException( TQString("No dictionary for %1").tqarg(lang) );
+ throw KoHyphenatorException( TQString("No dictionary for %1").arg(lang) );
}
if (dicts.find(lang) == dicts.end())
{
@@ -199,11 +199,11 @@ HyphenDict *KoHyphenator::dict(const TQString &_lang) const
#ifdef DEBUG_HYPHENATOR
kdDebug() << "No dictionary loaded" << endl;
#endif
- throw(KoHyphenatorException( TQString("Could not load dictionary for the language: %1").tqarg(lang) ));
+ throw(KoHyphenatorException( TQString("Could not load dictionary for the language: %1").arg(lang) ));
}
}
else
- throw(KoHyphenatorException( TQString("Could not load dictionary for the language: %1").tqarg(lang) ));
+ throw(KoHyphenatorException( TQString("Could not load dictionary for the language: %1").arg(lang) ));
}
return dicts[lang];
}