summaryrefslogtreecommitdiffstats
path: root/lib/kotext/DateFormatWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/DateFormatWidget.cpp')
-rw-r--r--lib/kotext/DateFormatWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/DateFormatWidget.cpp b/lib/kotext/DateFormatWidget.cpp
index bff1f86c..0c1b3575 100644
--- a/lib/kotext/DateFormatWidget.cpp
+++ b/lib/kotext/DateFormatWidget.cpp
@@ -155,7 +155,7 @@ TQString DateFormatWidget::resultString()
{
const TQString lookup(combo1->currentText());
const TQStringList listTranslated( KoVariableDateFormat::staticTranslatedFormatPropsList() );
- const int index = listTranslated.tqfindIndex(lookup);
+ const int index = listTranslated.findIndex(lookup);
if (index==-1)
return (lookup); // Either costum or non-locale