summaryrefslogtreecommitdiffstats
path: root/src/Client/XLSSheet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client/XLSSheet.cpp')
-rw-r--r--src/Client/XLSSheet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Client/XLSSheet.cpp b/src/Client/XLSSheet.cpp
index 9c4b5a9..96bf16c 100644
--- a/src/Client/XLSSheet.cpp
+++ b/src/Client/XLSSheet.cpp
@@ -93,7 +93,7 @@ void XLSSheet::readRows() {
XLSSheet::XLSSheet(boost::shared_ptr<xmlDoc> doc0, xmlNodePtr node0) : doc(doc0), node(node0), firstRowColNames(false) {
title = getSheetLevelField("pagetitle");
- colCount = std::strtoul(getSheetLevelField("lastcol").extract().c_str(), 0, 10)+1-std::strtoul(getSheetLevelField("firstcol").extract().c_str(), 0, 10);
+ colCount = std::strtoul(getSheetLevelField("lastcol").toString().c_str(), 0, 10)+1-std::strtoul(getSheetLevelField("firstcol").toString().c_str(), 0, 10);
for(unsigned col = 0; col < colCount; ++col) {
std::ostringstream stream;