diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /sc/inc/dociter.hxx | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sc/inc/dociter.hxx')
-rw-r--r-- | sc/inc/dociter.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index cf858a0ecdf7..212a64440bb8 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -215,13 +215,13 @@ public: const ScAddress& GetPos() const { return maCurPos; } - CellType getType() const; + CellType getType() const { return maCurCell.meType;} OUString getString(); - const EditTextObject* getEditText() const; - ScFormulaCell* getFormulaCell(); - const ScFormulaCell* getFormulaCell() const; + const EditTextObject* getEditText() const { return maCurCell.mpEditText;} + ScFormulaCell* getFormulaCell() { return maCurCell.mpFormula;} + const ScFormulaCell* getFormulaCell() const { return maCurCell.mpFormula;} ScCellValue getCellValue() const; - const ScRefCellValue& getRefCellValue() const; + const ScRefCellValue& getRefCellValue() const { return maCurCell;} bool hasString() const; bool hasEmptyData() const; @@ -545,7 +545,7 @@ public: SCCOL GetEndCol() const { return nFoundEndCol; } SCROW GetRow() const { return nFoundRow; } const ScPatternAttr* GetPattern() const { return pFoundPattern; } - const ScRefCellValue& GetCell() const; + const ScRefCellValue& GetCell() const { return maFoundCell;} }; class ScRowBreakIterator |