summaryrefslogtreecommitdiffstats
path: root/sc/inc/column.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-02 16:59:34 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-02 18:01:17 -0400
commit13b1964518036d4453b0e713a183250fcf3da346 (patch)
tree98295ad7655a3c05cf50b2649f4f25facf8e0e38 /sc/inc/column.hxx
parentRelated: fdo#56473 IDE: Crash when inserting a simple macro (diff)
downloadcore-13b1964518036d4453b0e713a183250fcf3da346.tar.gz
core-13b1964518036d4453b0e713a183250fcf3da346.zip
Mark these methods const.
Change-Id: I9b9a8c156e1da89045ba3210960732ccbf2c9dd0
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r--sc/inc/column.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index a2aad726fb9a..2ef0b021f112 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -176,7 +176,7 @@ public:
void DeleteRow( SCROW nStartRow, SCSIZE nSize );
void DeleteRange( SCSIZE nStartIndex, SCSIZE nEndIndex, sal_uInt16 nDelFlag );
void DeleteArea(SCROW nStartRow, SCROW nEndRow, sal_uInt16 nDelFlag );
- void CopyToClip(SCROW nRow1, SCROW nRow2, ScColumn& rColumn, bool bKeepScenarioFlags);
+ void CopyToClip(SCROW nRow1, SCROW nRow2, ScColumn& rColumn, bool bKeepScenarioFlags) const;
void CopyFromClip(SCROW nRow1, SCROW nRow2, long nDy,
sal_uInt16 nInsFlag, bool bAsLink, bool bSkipAttrForEmpty, ScColumn& rColumn);
void StartListeningInArea( SCROW nRow1, SCROW nRow2 );
@@ -207,9 +207,10 @@ public:
ScFlatBoolRowSegments& rHiddenRows,
SCROW nStartRow, SCROW nEndRow );
- void CopyToColumn(SCROW nRow1, SCROW nRow2, sal_uInt16 nFlags, bool bMarked,
- ScColumn& rColumn, const ScMarkData* pMarkData = NULL,
- bool bAsLink = false );
+ void CopyToColumn(
+ SCROW nRow1, SCROW nRow2, sal_uInt16 nFlags, bool bMarked,
+ ScColumn& rColumn, const ScMarkData* pMarkData = NULL, bool bAsLink = false) const;
+
void UndoToColumn(SCROW nRow1, SCROW nRow2, sal_uInt16 nFlags, bool bMarked,
ScColumn& rColumn, const ScMarkData* pMarkData = NULL );
@@ -379,7 +380,7 @@ public:
SCROW nRowStart, SCROW nRowEnd ) const;
private:
- ScBaseCell* CloneCell(SCSIZE nIndex, sal_uInt16 nFlags, ScDocument& rDestDoc, const ScAddress& rDestPos);
+ ScBaseCell* CloneCell(SCSIZE nIndex, sal_uInt16 nFlags, ScDocument& rDestDoc, const ScAddress& rDestPos) const;
SCROW FindNextVisibleRowWithContent(SCROW nRow, bool bForward) const;
SCROW FindNextVisibleRow(SCROW nRow, bool bForward) const;