diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /include/svl | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/int64item.hxx | 2 | ||||
-rw-r--r-- | include/svl/sharedstring.hxx | 4 | ||||
-rw-r--r-- | include/svl/style.hxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/svl/int64item.hxx b/include/svl/int64item.hxx index 06876e63d7dc..c49ead68e29f 100644 --- a/include/svl/int64item.hxx +++ b/include/svl/int64item.hxx @@ -45,7 +45,7 @@ public: virtual SfxPoolItem* Clone( SfxItemPool* pOther = NULL ) const SAL_OVERRIDE; - sal_Int64 GetValue() const; + sal_Int64 GetValue() const { return mnValue;} void SetValue( sal_Int64 nVal ); }; diff --git a/include/svl/sharedstring.hxx b/include/svl/sharedstring.hxx index fe9e851f045d..ddb63f14e8d8 100644 --- a/include/svl/sharedstring.hxx +++ b/include/svl/sharedstring.hxx @@ -36,10 +36,10 @@ public: OUString getString() const; - rtl_uString* getData(); + rtl_uString* getData() { return mpData;} const rtl_uString* getData() const; - rtl_uString* getDataIgnoreCase(); + rtl_uString* getDataIgnoreCase() { return mpDataIgnoreCase;} const rtl_uString* getDataIgnoreCase() const; bool isValid() const; diff --git a/include/svl/style.hxx b/include/svl/style.hxx index f82d14266fb3..3b936763886b 100644 --- a/include/svl/style.hxx +++ b/include/svl/style.hxx @@ -230,7 +230,7 @@ public: const OUString& GetAppName() const { return aAppName; } SfxItemPool& GetPool(); - const SfxItemPool& GetPool() const; + const SfxItemPool& GetPool() const { return rPool;} virtual SfxStyleSheetIteratorPtr CreateIterator(SfxStyleFamily, sal_uInt16 nMask); virtual sal_uInt16 Count(); @@ -265,7 +265,7 @@ public: { return Find(rStr, nSearchFamily, nMask); } void SetSearchMask(SfxStyleFamily eFam, sal_uInt16 n=SFXSTYLEBIT_ALL ); - sal_uInt16 GetSearchMask() const; + sal_uInt16 GetSearchMask() const { return nMask;} SfxStyleFamily GetSearchFamily() const { return nSearchFamily; } void Reindex(); |