summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-04 14:35:39 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-04 22:40:28 -0400
commit80697a92c0d5ffd093e6dca873c56fe13db19398 (patch)
treeacc21a29aca3fc18503c4f4f9bde820991eff05f /sc/inc
parente6ae91a8248fceee4248aadaf9f8aadec3fcc2bc (diff)
Extracted complex if conditions into own methods. Much more readable.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/table.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 0a7cbff72f8b..1001edeacaa9 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -435,9 +435,9 @@ public:
void LimitChartArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol, SCROW& rEndRow );
- bool HasData( SCCOL nCol, SCROW nRow );
- bool HasStringData( SCCOL nCol, SCROW nRow );
- bool HasValueData( SCCOL nCol, SCROW nRow );
+ bool HasData( SCCOL nCol, SCROW nRow ) const;
+ bool HasStringData( SCCOL nCol, SCROW nRow ) const;
+ bool HasValueData( SCCOL nCol, SCROW nRow ) const;
bool HasStringCells( SCCOL nStartCol, SCROW nStartRow,
SCCOL nEndCol, SCROW nEndRow ) const;