summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/RichEdit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker/src/RichEdit.cpp')
-rw-r--r--plugins/SpellChecker/src/RichEdit.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/SpellChecker/src/RichEdit.cpp b/plugins/SpellChecker/src/RichEdit.cpp
index 1961b68d5b..b19e037c72 100644
--- a/plugins/SpellChecker/src/RichEdit.cpp
+++ b/plugins/SpellChecker/src/RichEdit.cpp
@@ -157,20 +157,6 @@ void RichEdit::GetLine(int line, TCHAR *text, size_t text_len) const
int lineLen = GetLineLength(line);
size = (unsigned) max(0, min((int)text_len - 1, min((int) size, lineLen)));
text[size] = _T('\0');
-
-/*
- int len = GetLineLength(line);
- if (len < 1)
- {
- text[0] = 0;
- return;
- }
-
- int first = GetFirstCharOfLine(line);
- TCHAR *tmp = GetText(first, first + GetLineLength(line));
- lstrcpyn(text, tmp, text_len);
- mir_free(tmp);
-*/
}
int RichEdit::GetLineLength(int line) const