summaryrefslogtreecommitdiffstats
path: root/sc/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-08-29 15:13:49 +0300
committerTor Lillqvist <tml@collabora.com>2017-08-29 15:14:34 +0300
commit3878c4725f0f5ce849f8a0482e3efba361599a42 (patch)
tree8565c149fabdda2964c301307ad1ea86f6feb622 /sc/inc
parentResolves: tdf#111865 ensure draw after SetProgressValue uses new value (diff)
downloadcore-3878c4725f0f5ce849f8a0482e3efba361599a42.tar.gz
core-3878c4725f0f5ce849f8a0482e3efba361599a42.zip
Use 1-based numbers in the ScAddress debugging output operator <<
Change-Id: If9f685bc504d9da8011c1788dfb90dc29b86e9ea
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/address.hxx6
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;
}