From 812dbca5a93305b5b159cc2b2bfdb286b27a44c1 Mon Sep 17 00:00:00 2001 From: Ulrich Brammer Date: Sun, 2 Apr 2017 13:05:22 +0200 Subject: [PATCH] fixes 0002978 spreadsheet row problem for rows above AA --- src/App/Range.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Range.cpp b/src/App/Range.cpp index f178f8b572..8e9a0cd946 100644 --- a/src/App/Range.cpp +++ b/src/App/Range.cpp @@ -176,7 +176,7 @@ int App::validColumn(const std::string &colstr) } else { col = 0; - for (std::string::const_reverse_iterator i = colstr.rbegin(); i != colstr.rend(); ++i) { + for (std::string::const_iterator i = colstr.begin(); i != colstr.end(); ++i) { int v; if ((*i >= 'A' && *i <= 'Z'))