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 /sd/source/filter | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sd/source/filter')
-rw-r--r-- | sd/source/filter/ppt/ppt97animations.cxx | 8 | ||||
-rw-r--r-- | sd/source/filter/ppt/ppt97animations.hxx | 4 |
2 files changed, 2 insertions, 10 deletions
diff --git a/sd/source/filter/ppt/ppt97animations.cxx b/sd/source/filter/ppt/ppt97animations.cxx index bc5f7ad8d1bd..9bf6662c6d0d 100644 --- a/sd/source/filter/ppt/ppt97animations.cxx +++ b/sd/source/filter/ppt/ppt97animations.cxx @@ -150,10 +150,6 @@ bool Ppt97Animation::HasAfterEffect_DimAfterEffect() const return m_aAtom.nAfterEffect == 3; } #endif -sal_uInt32 Ppt97Animation::GetSoundRef() const -{ - return m_aAtom.nSoundRef; -} void Ppt97Animation::SetSoundFileUrl( const OUString& rSoundFileUrl ) { m_aSoundFileUrl = rSoundFileUrl; @@ -191,10 +187,6 @@ bool Ppt97Animation::GetSpecialTextIterationDelay( double& rfTextIterationDelay return bRet; } -sal_Int32 Ppt97Animation::GetDimColor() const -{ - return static_cast<sal_Int32>(m_aAtom.nDimColor); -} void Ppt97Animation::SetDimColor( sal_Int32 nDimColor ) { diff --git a/sd/source/filter/ppt/ppt97animations.hxx b/sd/source/filter/ppt/ppt97animations.hxx index 28be9d386b08..672678196805 100644 --- a/sd/source/filter/ppt/ppt97animations.hxx +++ b/sd/source/filter/ppt/ppt97animations.hxx @@ -96,8 +96,8 @@ public: //public methods bool HasEffect() const; bool HasParagraphEffect() const; bool HasSoundEffect() const; - sal_Int32 GetDimColor() const; - sal_uInt32 GetSoundRef() const; + sal_Int32 GetDimColor() const { return static_cast<sal_Int32>(m_aAtom.nDimColor);} + sal_uInt32 GetSoundRef() const { return m_aAtom.nSoundRef;} /// @return true if the shape should be animated in addition to the text bool HasAnimateAssociatedShape() const; |