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 /comphelper/source | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/stillreadwriteinteraction.cxx | 4 | ||||
-rw-r--r-- | comphelper/source/property/propertysetinfo.cxx | 6 |
2 files changed, 1 insertions, 9 deletions
diff --git a/comphelper/source/misc/stillreadwriteinteraction.cxx b/comphelper/source/misc/stillreadwriteinteraction.cxx index 10f1855e5bd4..1ad24fa2fed2 100644 --- a/comphelper/source/misc/stillreadwriteinteraction.cxx +++ b/comphelper/source/misc/stillreadwriteinteraction.cxx @@ -63,10 +63,6 @@ void StillReadWriteInteraction::resetErrorStates() m_bHandledByInternalHandler = false; } -bool StillReadWriteInteraction::wasWriteError() -{ - return (m_bUsed && m_bHandledByMySelf); -} ucbhelper::InterceptedInteraction::EInterceptionState StillReadWriteInteraction::intercepted(const ::ucbhelper::InterceptedInteraction::InterceptedRequest& aRequest, const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest >& xRequest) diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx index bda50a89be52..1f3bb28735c4 100644 --- a/comphelper/source/property/propertysetinfo.cxx +++ b/comphelper/source/property/propertysetinfo.cxx @@ -40,7 +40,7 @@ public: Sequence< Property > getProperties() throw(); - const PropertyMap* getPropertyMap() const throw(); + const PropertyMap* getPropertyMap() const throw() { return &maPropertyMap;} Property getPropertyByName( const OUString& aName ) throw( UnknownPropertyException ); bool hasPropertyByName( const OUString& aName ) throw(); @@ -121,10 +121,6 @@ Sequence< Property > PropertyMapImpl::getProperties() throw() return maProperties; } -const PropertyMap* PropertyMapImpl::getPropertyMap() const throw() -{ - return &maPropertyMap; -} Property PropertyMapImpl::getPropertyByName( const OUString& aName ) throw( UnknownPropertyException ) { |