From 3af95679467ac7027abb6a850e22b3c358c76666 Mon Sep 17 00:00:00 2001 From: amiremohamadi Date: Fri, 20 Mar 2020 23:08:27 +0330 Subject: [PATCH] fix-bug: set absolute flags correctly --- source/cell/cell_reference.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/cell/cell_reference.cpp b/source/cell/cell_reference.cpp index 385e84d34..d996adab6 100644 --- a/source/cell/cell_reference.cpp +++ b/source/cell/cell_reference.cpp @@ -174,13 +174,13 @@ std::pair cell_reference::split_reference( if (column_string[0] == '$') { - absolute_row = true; + absolute_column = true; column_string = column_string.substr(1); } if (row_string[0] == '$') { - absolute_column = true; + absolute_row = true; row_string = row_string.substr(1); }