diff options
Diffstat (limited to 'src/lccnvalidator.cpp')
-rw-r--r-- | src/lccnvalidator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lccnvalidator.cpp b/src/lccnvalidator.cpp index bee8d35..bde2427 100644 --- a/src/lccnvalidator.cpp +++ b/src/lccnvalidator.cpp @@ -45,7 +45,7 @@ TQString LCCNValidator::formalize(const TQString& value_) { TQString year; TQString serial; // have to be able to differentiate 2 and 4-digit years, first check for hyphen position - int pos = afterAlpha.tqfind('-'); + int pos = afterAlpha.find('-'); if(pos > -1) { year = afterAlpha.section('-', 0, 0); serial = afterAlpha.section('-', 1); |