diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 10:33:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 13:47:45 +0200 |
commit | 7a1bf5c10deb5f9d2e5b282dac9493d84aede659 (patch) | |
tree | 834b78658f755ac939a35cb0373c882b98bfa202 /writerfilter/source/dmapper/TableData.hxx | |
parent | 1141b6b0ce6581b587e174c9bbdddb88d36ea8c2 (diff) |
loplugin:constmethod in writerfilter
Change-Id: I1e1c4e574e910ef9683520ae950b14eb4ebbc63f
Reviewed-on: https://gerrit.libreoffice.org/79784
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper/TableData.hxx')
-rw-r--r-- | writerfilter/source/dmapper/TableData.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/writerfilter/source/dmapper/TableData.hxx b/writerfilter/source/dmapper/TableData.hxx index 8381a9899125..8489254f4ab8 100644 --- a/writerfilter/source/dmapper/TableData.hxx +++ b/writerfilter/source/dmapper/TableData.hxx @@ -83,17 +83,17 @@ public: /** Return start handle of the cell. */ - const css::uno::Reference<css::text::XTextRange>& getStart() { return mStart; } + const css::uno::Reference<css::text::XTextRange>& getStart() const { return mStart; } /** Return end handle of the cell. */ - const css::uno::Reference<css::text::XTextRange>& getEnd() { return mEnd; } + const css::uno::Reference<css::text::XTextRange>& getEnd() const { return mEnd; } /** Return properties of the cell. */ - const TablePropertyMapPtr& getProperties() { return mpProps; } + const TablePropertyMapPtr& getProperties() const { return mpProps; } bool isOpen() const { return mbOpen; } }; @@ -177,7 +177,7 @@ public: /** Return number of cells in the row. */ - unsigned int getCellCount() + unsigned int getCellCount() const { return mCells.size(); } @@ -215,7 +215,7 @@ public: /** Return properties of the row. */ - const TablePropertyMapPtr& getProperties() + const TablePropertyMapPtr& getProperties() const { return mpProperties; } @@ -312,7 +312,7 @@ public: /** Return number of rows in the table. */ - unsigned int getRowCount() + unsigned int getRowCount() const { return mRows.size(); } @@ -320,7 +320,7 @@ public: /** Return depth of table in surrounding table hierarchy. */ - unsigned int getDepth() + unsigned int getDepth() const { return mnDepth; } |