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 | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/items/grabbagitem.cxx | 4 | ||||
-rw-r--r-- | svl/source/items/style.cxx | 4 | ||||
-rw-r--r-- | svl/source/misc/sharedstring.cxx | 24 | ||||
-rw-r--r-- | svl/source/notify/broadcast.cxx | 4 |
4 files changed, 0 insertions, 36 deletions
diff --git a/svl/source/items/grabbagitem.cxx b/svl/source/items/grabbagitem.cxx index 49ff02b5ecff..c1b8078e2ace 100644 --- a/svl/source/items/grabbagitem.cxx +++ b/svl/source/items/grabbagitem.cxx @@ -40,10 +40,6 @@ SfxGrabBagItem::~SfxGrabBagItem() { } -const std::map<OUString, uno::Any>& SfxGrabBagItem::GetGrabBag() const -{ - return m_aMap; -} bool SfxGrabBagItem::operator==(const SfxPoolItem& rItem) const { diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 4848b027e104..c729f0e93d28 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -836,10 +836,6 @@ void SfxStyleSheetBase::Store( SvStream& ) { } -SfxItemPool& SfxStyleSheetBasePool::GetPool() -{ - return rPool; -} 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; -} } diff --git a/svl/source/notify/broadcast.cxx b/svl/source/notify/broadcast.cxx index 753cbc8a14ef..30e7bd0b58a6 100644 --- a/svl/source/notify/broadcast.cxx +++ b/svl/source/notify/broadcast.cxx @@ -138,10 +138,6 @@ void SvtBroadcaster::Broadcast( const SfxHint &rHint ) void SvtBroadcaster::ListenersGone() {} -SvtBroadcaster::ListenersType& SvtBroadcaster::GetAllListeners() -{ - return maListeners; -} bool SvtBroadcaster::HasListeners() const { |