diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /svl/source/misc | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'svl/source/misc')
-rw-r--r-- | svl/source/misc/sharedstring.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/svl/source/misc/sharedstring.cxx b/svl/source/misc/sharedstring.cxx index 2bddc75fad29..850d8df276db 100644 --- a/svl/source/misc/sharedstring.cxx +++ b/svl/source/misc/sharedstring.cxx @@ -95,37 +95,13 @@ bool SharedString::operator!= ( const SharedString& r ) const return !operator== (r); } -OUString SharedString::getString() const -{ - return mpData ? OUString(mpData) : OUString(); -} -const rtl_uString* SharedString::getData() const -{ - return mpData; -} -const rtl_uString* SharedString::getDataIgnoreCase() const -{ - return mpDataIgnoreCase; -} -bool SharedString::isValid() const -{ - return mpData != NULL; -} -bool SharedString::isEmpty() const -{ - return mpData == NULL || mpData->length == 0; -} -sal_Int32 SharedString::getLength() const -{ - return mpData ? mpData->length : 0; -} } |