diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-08-29 15:13:49 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-08-29 15:14:34 +0300 |
commit | 3878c4725f0f5ce849f8a0482e3efba361599a42 (patch) | |
tree | 8565c149fabdda2964c301307ad1ea86f6feb622 /sc/inc | |
parent | 4b44a42b6a54ddf57635fcdb9cf9c18c5e631ff1 (diff) |
Use 1-based numbers in the ScAddress debugging output operator <<
Change-Id: If9f685bc504d9da8011c1788dfb90dc29b86e9ea
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/address.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |