diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-01-20 14:39:54 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-01-20 17:07:20 -0500 |
commit | 94c63b8699e822fe1344002b68c3b11e687a1153 (patch) | |
tree | 254fbbb4cea5e572d311d6efa961267353776b93 /sc/inc | |
parent | bd161794ac844891f18660c292387dd449cb4c71 (diff) |
Prefer using back() to access the last element.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/column.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index e00aa64275ef..2f58a92630d8 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -256,7 +256,7 @@ public: double GetValue( SCROW nRow ) const; void GetFormula( SCROW nRow, rtl::OUString& rFormula ) const; CellType GetCellType( SCROW nRow ) const; - SCSIZE GetCellCount() const { return maItems.size(); } + SCSIZE GetCellCount() const; sal_uInt32 GetWeightedCount() const; sal_uInt32 GetCodeCount() const; // RPN-Code in formulas sal_uInt16 GetErrCode( SCROW nRow ) const; |