diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-06-26 11:22:59 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-06-26 11:26:16 -0400 |
commit | 8c717ff5d7eb105380f88533edd244ea2e807499 (patch) | |
tree | dbf41551a681295ec02483933cd3207134f8ac36 /include/svl/sharedstring.hxx | |
parent | 8192df38879694db77228b9b046b149d53448c0e (diff) |
Revert needless inlining of methods for publicly exposed class.
Keep the method implementations unexposed please.
Change-Id: Ic9b1f8654e6ebef428d4182782c1aa4962934c6a
Diffstat (limited to 'include/svl/sharedstring.hxx')
-rw-r--r-- | include/svl/sharedstring.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/svl/sharedstring.hxx b/include/svl/sharedstring.hxx index aac16df2e006..fe9e851f045d 100644 --- a/include/svl/sharedstring.hxx +++ b/include/svl/sharedstring.hxx @@ -34,18 +34,18 @@ public: bool operator== ( const SharedString& r ) const; bool operator!= ( const SharedString& r ) const; - OUString getString() const { return mpData ? OUString(mpData) : OUString();} + OUString getString() const; - rtl_uString* getData() { return mpData;} - const rtl_uString* getData() const { return mpData;} + rtl_uString* getData(); + const rtl_uString* getData() const; - rtl_uString* getDataIgnoreCase() { return mpDataIgnoreCase;} - const rtl_uString* getDataIgnoreCase() const { return mpDataIgnoreCase;} + rtl_uString* getDataIgnoreCase(); + const rtl_uString* getDataIgnoreCase() const; - bool isValid() const { return mpData != NULL;} - bool isEmpty() const { return mpData == NULL || mpData->length == 0;} + bool isValid() const; + bool isEmpty() const; - sal_Int32 getLength() const { return mpData ? mpData->length : 0;} + sal_Int32 getLength() const; }; } |