summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoCreateStyleDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoCreateStyleDia.cpp')
-rw-r--r--lib/kotext/KoCreateStyleDia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/KoCreateStyleDia.cpp b/lib/kotext/KoCreateStyleDia.cpp
index cf9130af0..648dc2525 100644
--- a/lib/kotext/KoCreateStyleDia.cpp
+++ b/lib/kotext/KoCreateStyleDia.cpp
@@ -42,7 +42,7 @@ KoCreateStyleDia::KoCreateStyleDia( const TQStringList & _list, TQWidget *tqpare
void KoCreateStyleDia::slotOk()
{
- if ( styleList.tqfindIndex(m_styleName->text() ) != -1 )
+ if ( styleList.findIndex(m_styleName->text() ) != -1 )
{
KMessageBox::error(this, i18n("Name already exists! Please choose another name"));
m_styleName->clear();