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 /oox | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/crypto/AgileEngine.cxx | 4 | ||||
-rw-r--r-- | oox/source/crypto/Standard2007Engine.cxx | 4 | ||||
-rw-r--r-- | oox/source/drawingml/color.cxx | 4 | ||||
-rw-r--r-- | oox/source/drawingml/shape.cxx | 4 | ||||
-rw-r--r-- | oox/source/drawingml/shapecontext.cxx | 4 | ||||
-rw-r--r-- | oox/source/helper/grabbagstack.cxx | 4 | ||||
-rw-r--r-- | oox/source/helper/graphichelper.cxx | 4 | ||||
-rw-r--r-- | oox/source/helper/storagebase.cxx | 4 | ||||
-rw-r--r-- | oox/source/shape/LockedCanvasContext.cxx | 4 | ||||
-rw-r--r-- | oox/source/shape/LockedCanvasContext.hxx | 2 | ||||
-rw-r--r-- | oox/source/shape/WpgContext.cxx | 4 | ||||
-rw-r--r-- | oox/source/shape/WpgContext.hxx | 2 | ||||
-rw-r--r-- | oox/source/shape/WpsContext.cxx | 4 | ||||
-rw-r--r-- | oox/source/shape/WpsContext.hxx | 2 |
14 files changed, 3 insertions, 47 deletions
diff --git a/oox/source/crypto/AgileEngine.cxx b/oox/source/crypto/AgileEngine.cxx index df034ca9d13c..480953dc5270 100644 --- a/oox/source/crypto/AgileEngine.cxx +++ b/oox/source/crypto/AgileEngine.cxx @@ -41,10 +41,6 @@ AgileEngine::AgileEngine() : AgileEngine::~AgileEngine() {} -AgileEncryptionInfo& AgileEngine::getInfo() -{ - return mInfo; -} Crypto::CryptoType AgileEngine::cryptoType(const AgileEncryptionInfo& rInfo) { diff --git a/oox/source/crypto/Standard2007Engine.cxx b/oox/source/crypto/Standard2007Engine.cxx index 3d06cba20591..1e769a03a013 100644 --- a/oox/source/crypto/Standard2007Engine.cxx +++ b/oox/source/crypto/Standard2007Engine.cxx @@ -66,10 +66,6 @@ Standard2007Engine::Standard2007Engine() : Standard2007Engine::~Standard2007Engine() {} -StandardEncryptionInfo& Standard2007Engine::getInfo() -{ - return mInfo; -} bool Standard2007Engine::generateVerifier() { diff --git a/oox/source/drawingml/color.cxx b/oox/source/drawingml/color.cxx index 59334492a24b..0703cd07cadf 100644 --- a/oox/source/drawingml/color.cxx +++ b/oox/source/drawingml/color.cxx @@ -340,10 +340,6 @@ void Color::clearTransformations() clearTransparence(); } -::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > Color::getTransformations() const -{ - return maInteropTransformations; -} OUString Color::getColorTransformationName( sal_Int32 nElement ) { diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 815887db35b5..6fdbfe0eeae6 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -1173,10 +1173,6 @@ void Shape::setTextBody(const TextBodyPtr & pTextBody) } -TextBodyPtr Shape::getTextBody() -{ - return mpTextBody; -} void Shape::setMasterTextListStyle( const TextListStylePtr& pMasterTextListStyle ) { diff --git a/oox/source/drawingml/shapecontext.cxx b/oox/source/drawingml/shapecontext.cxx index 74cc2d9081dd..1b709ba201b0 100644 --- a/oox/source/drawingml/shapecontext.cxx +++ b/oox/source/drawingml/shapecontext.cxx @@ -58,10 +58,6 @@ ShapeContext::~ShapeContext() mpMasterShapePtr->addChild( mpShapePtr ); } -ShapePtr ShapeContext::getShape() -{ - return mpShapePtr; -} ContextHandlerRef ShapeContext::onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) { diff --git a/oox/source/helper/grabbagstack.cxx b/oox/source/helper/grabbagstack.cxx index a8dbb6cd6e70..8a7e3ad8d1c8 100644 --- a/oox/source/helper/grabbagstack.cxx +++ b/oox/source/helper/grabbagstack.cxx @@ -25,10 +25,6 @@ GrabBagStack::GrabBagStack(const OUString& aName) GrabBagStack::~GrabBagStack() {} -OUString GrabBagStack::getCurrentName() -{ - return mCurrentElement.maName; -} bool GrabBagStack::isStackEmpty() { diff --git a/oox/source/helper/graphichelper.cxx b/oox/source/helper/graphichelper.cxx index 135a91c06c0f..9e8c00f4f37e 100644 --- a/oox/source/helper/graphichelper.cxx +++ b/oox/source/helper/graphichelper.cxx @@ -160,10 +160,6 @@ sal_Int32 GraphicHelper::getPaletteColor( sal_Int32 /*nPaletteIdx*/ ) const // Device info and device dependent unit conversion --------------------------- -const awt::DeviceInfo& GraphicHelper::getDeviceInfo() const -{ - return maDeviceInfo; -} sal_Int32 GraphicHelper::convertScreenPixelXToHmm( double fPixelX ) const { diff --git a/oox/source/helper/storagebase.cxx b/oox/source/helper/storagebase.cxx index a4c0c367be46..740db3270d55 100644 --- a/oox/source/helper/storagebase.cxx +++ b/oox/source/helper/storagebase.cxx @@ -108,10 +108,6 @@ Reference< XStorage > StorageBase::getXStorage() const return implGetXStorage(); } -const OUString& StorageBase::getName() const -{ - return maStorageName; -} OUString StorageBase::getPath() const { diff --git a/oox/source/shape/LockedCanvasContext.cxx b/oox/source/shape/LockedCanvasContext.cxx index f176e57a8389..4d9f710dbd62 100644 --- a/oox/source/shape/LockedCanvasContext.cxx +++ b/oox/source/shape/LockedCanvasContext.cxx @@ -26,10 +26,6 @@ LockedCanvasContext::~LockedCanvasContext() { } -oox::drawingml::ShapePtr LockedCanvasContext::getShape() -{ - return mpShape; -} ::oox::core::ContextHandlerRef LockedCanvasContext::onCreateContext(sal_Int32 aElementToken, const ::oox::AttributeList& /*rAttribs*/) { diff --git a/oox/source/shape/LockedCanvasContext.hxx b/oox/source/shape/LockedCanvasContext.hxx index c57aa79ecc05..ab8ceae4e224 100644 --- a/oox/source/shape/LockedCanvasContext.hxx +++ b/oox/source/shape/LockedCanvasContext.hxx @@ -27,7 +27,7 @@ public: virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const ::oox::AttributeList& rAttribs) SAL_OVERRIDE; - oox::drawingml::ShapePtr getShape(); + oox::drawingml::ShapePtr getShape() { return mpShape;} protected: diff --git a/oox/source/shape/WpgContext.cxx b/oox/source/shape/WpgContext.cxx index 080240a9836c..dfaba90e9d2c 100644 --- a/oox/source/shape/WpgContext.cxx +++ b/oox/source/shape/WpgContext.cxx @@ -30,10 +30,6 @@ WpgContext::~WpgContext() { } -oox::drawingml::ShapePtr WpgContext::getShape() -{ - return mpShape; -} oox::core::ContextHandlerRef WpgContext::onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& /*rAttribs*/) { diff --git a/oox/source/shape/WpgContext.hxx b/oox/source/shape/WpgContext.hxx index 444efe48331a..e59cf54c4207 100644 --- a/oox/source/shape/WpgContext.hxx +++ b/oox/source/shape/WpgContext.hxx @@ -27,7 +27,7 @@ public: virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) SAL_OVERRIDE; - oox::drawingml::ShapePtr getShape(); + oox::drawingml::ShapePtr getShape() { return mpShape;} protected: oox::drawingml::ShapePtr mpShape; diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx index 2d2b022856ea..d7696f3e72dc 100644 --- a/oox/source/shape/WpsContext.cxx +++ b/oox/source/shape/WpsContext.cxx @@ -32,10 +32,6 @@ WpsContext::~WpsContext() { } -oox::drawingml::ShapePtr WpsContext::getShape() -{ - return mpShape; -} oox::core::ContextHandlerRef WpsContext::onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) { diff --git a/oox/source/shape/WpsContext.hxx b/oox/source/shape/WpsContext.hxx index aafc77a32a5e..cde35324cd1a 100644 --- a/oox/source/shape/WpsContext.hxx +++ b/oox/source/shape/WpsContext.hxx @@ -27,7 +27,7 @@ public: virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) SAL_OVERRIDE; - oox::drawingml::ShapePtr getShape(); + oox::drawingml::ShapePtr getShape() { return mpShape;} protected: oox::drawingml::ShapePtr mpShape; |