diff options
Diffstat (limited to 'lib/kofficecore/KoSpeaker.cpp')
-rw-r--r-- | lib/kofficecore/KoSpeaker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoSpeaker.cpp b/lib/kofficecore/KoSpeaker.cpp index 3637b90b8..83c0de179 100644 --- a/lib/kofficecore/KoSpeaker.cpp +++ b/lib/kofficecore/KoSpeaker.cpp @@ -1,4 +1,4 @@ -/* +/* * This file is part of the KDE/KOffice project. * Copyright (C) 2005, Gary Cramblitt <garycramblitt@comcast.net> * @@ -371,10 +371,10 @@ bool KoSpeaker::maybeSayWidget(TQWidget* w, const TQPoint& pos /*=TQPoint()*/) else if (w->inherits("TQComboBox")) text = dynamic_cast<TQComboBox *>(w)->currentText(); - else + else if (w->inherits("TQLineEdit")) text = dynamic_cast<TQLineEdit *>(w)->text(); - else + else if (w->inherits("TQTextEdit")) text = dynamic_cast<TQTextEdit *>(w)->text(); else |