From 3878c4725f0f5ce849f8a0482e3efba361599a42 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 29 Aug 2017 15:13:49 +0300 Subject: Use 1-based numbers in the ScAddress debugging output operator << Change-Id: If9f685bc504d9da8011c1788dfb90dc29b86e9ea --- sc/inc/address.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/inc') diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx index 0adeaa705861..bc585a359422 100644 --- a/sc/inc/address.hxx +++ b/sc/inc/address.hxx @@ -367,9 +367,9 @@ template inline std::basic_ostream & operator <<(std::basic_ostream & stream, const ScAddress& rAddress) { stream << - rAddress.Tab() << "!" << - "R" << rAddress.Row() << - "C" << rAddress.Col(); + rAddress.Tab()+1 << "!" + "R" << rAddress.Row()+1 << + "C" << rAddress.Col()+1; return stream; } -- cgit