summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /include/tools
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/multisel.hxx2
-rw-r--r--include/tools/zcodec.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx
index c81a8ea8dfb8..83841ce6a377 100644
--- a/include/tools/multisel.hxx
+++ b/include/tools/multisel.hxx
@@ -125,7 +125,7 @@ public:
public:
Iterator() : pEnumerator( NULL ), pPossibleValues( NULL ), nRangeIndex( -1 ), nCurrent( -1 ) {}
Iterator& operator++();
- sal_Int32 operator*() const;
+ sal_Int32 operator*() const { return nCurrent;}
bool operator==(const Iterator&) const;
bool operator!=(const Iterator& i_rComp) const
{ return ! (*this == i_rComp); }
diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx
index 63a5ec2002e2..8d393265f82f 100644
--- a/include/tools/zcodec.hxx
+++ b/include/tools/zcodec.hxx
@@ -75,7 +75,7 @@ public:
void SetBreak( sal_uIntPtr );
sal_uIntPtr GetBreak();
void SetCRC( sal_uIntPtr nCurrentCRC );
- sal_uIntPtr GetCRC();
+ sal_uIntPtr GetCRC() { return mnCRC;}
};
#endif