From d6c7ef2346d60ad934231d6b4bf6d342b278a0d4 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 21 Jul 2009 09:05:43 +0000 Subject: Using a much simpler property set implementation. Accessor objects use the PropertyGet interface to access just the property set methods they need. Removed SString. --- src/Document.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/Document.cxx') diff --git a/src/Document.cxx b/src/Document.cxx index fdf8261d9..ab29c798a 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1067,16 +1067,6 @@ bool Document::IsWordAt(int start, int end) { return IsWordStartAt(start) && IsWordEndAt(end); } -// The comparison and case changing functions here assume ASCII -// or extended ASCII such as the normal Windows code page. - -static inline char MakeUpperCase(char ch) { - if (ch < 'a' || ch > 'z') - return ch; - else - return static_cast(ch - 'a' + 'A'); -} - static inline char MakeLowerCase(char ch) { if (ch < 'A' || ch > 'Z') return ch; -- cgit v1.2.3