From ccdb7dd1b02ab1116c67913820f9eae1412e1540 Mon Sep 17 00:00:00 2001 From: koldo Date: Fri, 8 Feb 2013 11:16:50 +0000 Subject: [PATCH] .OfficeAutomation: Fixes for 64 bits git-svn-id: svn://ultimatepp.org/upp/trunk@5771 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/OfficeAutomation/OfficeSheet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazaar/OfficeAutomation/OfficeSheet.cpp b/bazaar/OfficeAutomation/OfficeSheet.cpp index bbac13405..a82f44816 100644 --- a/bazaar/OfficeAutomation/OfficeSheet.cpp +++ b/bazaar/OfficeAutomation/OfficeSheet.cpp @@ -22,8 +22,8 @@ OfficeSheet::~OfficeSheet() { void OfficeSheet::CellToColRow(const char *cell, int &col, int &row) { String s_col; + int lenCell = int(strlen(cell)); int i; - int lenCell = strlen(cell); for (i = 0; (i < lenCell) && (cell[i] >= 'A') && (cell[i] <= 'Z'); ++i) s_col.Cat(cell[i]);