--- liborcus-0.5.1/src/spreadsheet/sheet.cpp.orig 2013-08-08 10:18:56.779004541 +0200 +++ liborcus-0.5.1/src/spreadsheet/sheet.cpp 2013-08-08 10:19:02.839946649 +0200 @@ -734,7 +734,7 @@ con.build_tree(); size_t index; - if (!con.search_tree(col, index)) + if (!con.search_tree(row, index).second) return 0; return index;