summaryrefslogtreecommitdiffstats
path: root/sc/inc/refhint.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /sc/inc/refhint.hxx
parentwriterfilter: Kill unused XPathLogger. (diff)
downloadcore-3e82897353e576dc6e3fbf55371fda5a0c3415df.tar.gz
core-3e82897353e576dc6e3fbf55371fda5a0c3415df.zip
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sc/inc/refhint.hxx')
-rw-r--r--sc/inc/refhint.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/refhint.hxx b/sc/inc/refhint.hxx
index 146adf8f35d9..f8a6df71d40f 100644
--- a/sc/inc/refhint.hxx
+++ b/sc/inc/refhint.hxx
@@ -47,12 +47,12 @@ public:
/**
* Get the source range from which the references have moved.
*/
- const ScRange& getRange() const;
+ const ScRange& getRange() const { return maRange;}
/**
* Get the movement vector.
*/
- const ScAddress& getDelta() const;
+ const ScAddress& getDelta() const { return maMoveDelta;}
};
class RefColReorderHint : public RefHint
@@ -66,7 +66,7 @@ public:
RefColReorderHint( const sc::ColReorderMapType& rColMap, SCTAB nTab, SCROW nRow1, SCROW nRow2 );
virtual ~RefColReorderHint();
- const sc::ColReorderMapType& getColMap() const;
+ const sc::ColReorderMapType& getColMap() const { return mrColMap;}
SCTAB getTab() const { return mnTab;}
SCROW getStartRow() const { return mnRow1;}