sc/inc/address.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 3878c4725f0f5ce849f8a0482e3efba361599a42
Author: Tor Lillqvist <t...@collabora.com>
Date:   Tue Aug 29 15:13:49 2017 +0300

    Use 1-based numbers in the ScAddress debugging output operator <<
    
    Change-Id: If9f685bc504d9da8011c1788dfb90dc29b86e9ea

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<typename charT, typename traits>
 inline std::basic_ostream<charT, traits> & operator 
<<(std::basic_ostream<charT, traits> & 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;
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to