summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-09 21:26:42 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-10 00:48:35 +0200
commit8f92384031e332024ba39693b855bde67e033ac9 (patch)
tree5cdeca56dadca9ed125d2da97785fc7632d5638d /sc/source/core
parent0abceaaf623cb358b45c106b9f2af87a931ff9a6 (diff)
make some methods const
Change-Id: I45dfad63c364b515e83f6498f79a64f6de6a2396
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/table1.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index e8c5d2e63987..1cfa06bbe346 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1053,7 +1053,7 @@ void ScTable::LimitChartArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol
--rEndRow;
}
-SCCOL ScTable::FindNextVisibleCol( SCCOL nCol, bool bRight )
+SCCOL ScTable::FindNextVisibleCol( SCCOL nCol, bool bRight ) const
{
if(bRight)
{
@@ -1077,7 +1077,7 @@ SCCOL ScTable::FindNextVisibleCol( SCCOL nCol, bool bRight )
}
}
-SCCOL ScTable::FindNextVisibleColWithContent( SCCOL nCol, bool bRight, SCROW nRow )
+SCCOL ScTable::FindNextVisibleColWithContent( SCCOL nCol, bool bRight, SCROW nRow ) const
{
if(bRight)
{
@@ -1129,7 +1129,7 @@ SCCOL ScTable::FindNextVisibleColWithContent( SCCOL nCol, bool bRight, SCROW nRo
}
}
-void ScTable::FindAreaPos( SCCOL& rCol, SCROW& rRow, ScMoveDirection eDirection )
+void ScTable::FindAreaPos( SCCOL& rCol, SCROW& rRow, ScMoveDirection eDirection ) const
{
if (eDirection == SC_MOVE_LEFT || eDirection == SC_MOVE_RIGHT)
{