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 /xmloff/source/chart | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'xmloff/source/chart')
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.hxx | 2 |
3 files changed, 2 insertions, 10 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index 08b6c1507860..5691a5b9ce75 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -154,7 +154,7 @@ public: com::sun::star::chart::XChartDocument > rChartDoc, bool bIncludeTable ); - UniReference< XMLPropertySetMapper > GetPropertySetMapper() const; + UniReference< XMLPropertySetMapper > GetPropertySetMapper() const { return mxPropertySetMapper;} void SetChartRangeAddress( const OUString& rAddress ) { msChartAddress = rAddress; } @@ -1010,10 +1010,6 @@ const OUString& SchXMLExportHelper::getChartCLSID() return m_pImpl->msCLSID; } -UniReference< XMLPropertySetMapper > SchXMLExportHelper_Impl::GetPropertySetMapper() const -{ - return mxPropertySetMapper; -} void SchXMLExportHelper_Impl::exportAutoStyles() { diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index 0e915ea06a4d..93bcbb37d16b 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -706,10 +706,6 @@ bool SchXMLPositonAttributesHelper::isAutomatic() const { return m_bAutoSize || m_bAutoPosition; } -awt::Rectangle SchXMLPositonAttributesHelper::getRectangle() const -{ - return awt::Rectangle( m_aPosition.X, m_aPosition.Y, m_aSize.Width, m_aSize.Height ); -} bool SchXMLPositonAttributesHelper::readPositioningAttribute( sal_uInt16 nPrefix, const OUString& rLocalName, const OUString& rValue ) { diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.hxx b/xmloff/source/chart/SchXMLPlotAreaContext.hxx index 128e6364d2ab..3ba899091b7f 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.hxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.hxx @@ -65,7 +65,7 @@ public: bool hasPosSize() const; bool isAutomatic() const; - ::com::sun::star::awt::Rectangle getRectangle() const; + ::com::sun::star::awt::Rectangle getRectangle() const { return css::awt::Rectangle( m_aPosition.X, m_aPosition.Y, m_aSize.Width, m_aSize.Height );} private: bool hasSize() const; |