diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /xmloff | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/SvXMLAttr.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/core/SvXMLAttr.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/transform/ChartPlotAreaOASISTContext.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/transform/ChartPlotAreaOOoTContext.cxx | 6 |
5 files changed, 3 insertions, 19 deletions
diff --git a/xmloff/source/core/SvXMLAttr.cxx b/xmloff/source/core/SvXMLAttr.cxx index 3b0bfa8931f6..58997a44d4d7 100644 --- a/xmloff/source/core/SvXMLAttr.cxx +++ b/xmloff/source/core/SvXMLAttr.cxx @@ -34,10 +34,6 @@ bool SvXMLAttr::operator== (const SvXMLAttr &rCmp) const ( rCmp.aValue == aValue ); } -sal_uInt16 SvXMLAttr::getPrefixPos() const -{ - return aPrefixPos; -} const OUString& SvXMLAttr::getLName() const { diff --git a/xmloff/source/core/SvXMLAttr.hxx b/xmloff/source/core/SvXMLAttr.hxx index 4b5e6d1cbe39..7725a3dc03c7 100644 --- a/xmloff/source/core/SvXMLAttr.hxx +++ b/xmloff/source/core/SvXMLAttr.hxx @@ -27,7 +27,7 @@ public: const OUString& rValue ); bool operator== (const SvXMLAttr &rCmp) const; - sal_uInt16 getPrefixPos() const; + sal_uInt16 getPrefixPos() const { return aPrefixPos;} const OUString& getLName() const; const OUString& getValue() const; }; diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index d414c3849bcb..32e23dbe409e 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -1850,10 +1850,6 @@ bool SvXMLImport::isGeneratorVersionOlderThan( : nGeneratorVersion < nOOoVersion; } -bool SvXMLImport::isGraphicLoadOnDemandSupported() const -{ - return mbIsGraphicLoadOnDemandSupported; -} OUString SvXMLImport::GetODFVersion() const { diff --git a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx index bed64959f5be..375ad745335c 100644 --- a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx @@ -50,7 +50,7 @@ public: virtual void StartElement( const Reference< xml::sax::XAttributeList >& rAttrList ) SAL_OVERRIDE; virtual void EndElement() SAL_OVERRIDE; - bool IsCategoryAxis() const; + bool IsCategoryAxis() const { return m_bHasCategories;} private: ::rtl::Reference< XMLPersAttrListTContext > & m_rCategoriesContext; @@ -186,10 +186,6 @@ void XMLAxisOASISContext::EndElement() Export(); } -bool XMLAxisOASISContext::IsCategoryAxis() const -{ - return m_bHasCategories; -} TYPEINIT1( XMLChartPlotAreaOASISTContext, XMLProcAttrTransformerContext ); diff --git a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx index 26980fec76f7..df3dc75e3bdf 100644 --- a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx @@ -42,7 +42,7 @@ public: virtual void StartElement( const Reference< xml::sax::XAttributeList >& rAttrList ) SAL_OVERRIDE; - bool IsCategoryAxis() const; + bool IsCategoryAxis() const { return m_bIsCategoryAxis;} private: bool m_bIsCategoryAxis; @@ -118,10 +118,6 @@ void XMLAxisOOoContext::StartElement( XMLPersElemContentTContext::StartElement( xAttrList ); } -bool XMLAxisOOoContext::IsCategoryAxis() const -{ - return m_bIsCategoryAxis; -} TYPEINIT1( XMLChartPlotAreaOOoTContext, XMLProcAttrTransformerContext ) |