From 3e82897353e576dc6e3fbf55371fda5a0c3415df Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Jun 2014 14:06:28 +0200 Subject: improve the inlinesimplememberfunctions clang plugin Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e --- reportdesign/inc/RptModel.hxx | 2 +- reportdesign/inc/RptObject.hxx | 2 +- reportdesign/inc/RptPage.hxx | 2 +- reportdesign/inc/reportformula.hxx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'reportdesign/inc') diff --git a/reportdesign/inc/RptModel.hxx b/reportdesign/inc/RptModel.hxx index 005f36a7fe4f..710475b67e71 100644 --- a/reportdesign/inc/RptModel.hxx +++ b/reportdesign/inc/RptModel.hxx @@ -64,7 +64,7 @@ public: /** @returns the numbering type that is used to format page fields in drawing shapes */ virtual SvxNumType GetPageNumType() const SAL_OVERRIDE; - OXUndoEnvironment& GetUndoEnv(); + OXUndoEnvironment& GetUndoEnv() { return *m_pUndoEnv;} void SetModified(bool _bModified); inline dbaui::DBSubComponentController* getController() const { return m_pController; } diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx index 76a544f1a72d..443f53328870 100644 --- a/reportdesign/inc/RptObject.hxx +++ b/reportdesign/inc/RptObject.hxx @@ -116,7 +116,7 @@ public: bool supportsService( const OUString& _sServiceName ) const; - ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportComponent> getReportComponent() const; + ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportComponent> getReportComponent() const { return m_xReportComponent;} virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> getAwtComponent(); inline void setOldParent(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& _xSection) { m_xSection = _xSection; } inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection> getOldParent() const { return m_xSection;} diff --git a/reportdesign/inc/RptPage.hxx b/reportdesign/inc/RptPage.hxx index 8fe4401a9a5d..518293b8149b 100644 --- a/reportdesign/inc/RptPage.hxx +++ b/reportdesign/inc/RptPage.hxx @@ -83,7 +83,7 @@ public: */ void insertObject(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportComponent >& _xObject); - ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > getSection() const; + ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > getSection() const { return m_xSection;} }; } #endif // INCLUDED_REPORTDESIGN_INC_RPTPAGE_HXX diff --git a/reportdesign/inc/reportformula.hxx b/reportdesign/inc/reportformula.hxx index 6550b0c50600..506ec8f0d7c7 100644 --- a/reportdesign/inc/reportformula.hxx +++ b/reportdesign/inc/reportformula.hxx @@ -68,7 +68,7 @@ namespace rptui /// returns the complete formula represented by the object const OUString& - getCompleteFormula() const; + getCompleteFormula() const { return m_sCompleteFormula; } /** gets the undecorated formula content @@ -78,7 +78,7 @@ namespace rptui If the formula denotes an expression, then the undecorated content is the expression itself. */ - const OUString& getUndecoratedContent() const; + const OUString& getUndecoratedContent() const { return m_sUndecoratedContent; } /// convenience alias for getUndecoratedContent, which asserts (in a non-product build) when used on an expression inline OUString getFieldName() const; -- cgit