diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-17 16:02:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-18 08:51:07 +0200 |
commit | 7477ab139142c55da6a7d4fb10903dcb464ee97b (patch) | |
tree | 7761955992cff3a8070c4e2860d9524ea7315c04 /xmloff/source/transform | |
parent | 281fa6ac6a7df48dd65f5019d5a74148a096e253 (diff) |
loplugin:inlineablemethods in xmloff
Change-Id: I22202f85c65a862ccdafe1d521e2945e3d99252a
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r-- | xmloff/source/transform/ChartPlotAreaOASISTContext.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx index e1eeb3b4f0b6..8440b20cce4b 100644 --- a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx @@ -49,8 +49,6 @@ public: virtual void StartElement( const Reference< xml::sax::XAttributeList >& rAttrList ) override; virtual void EndElement() override; - bool IsCategoryAxis() const { return m_bHasCategories;} - private: ::rtl::Reference< XMLPersAttrListTContext > & m_rCategoriesContext; bool m_bHasCategories; @@ -155,7 +153,7 @@ void XMLAxisOASISContext::StartElement( void XMLAxisOASISContext::EndElement() { // if we have categories, change the "class" attribute - if( IsCategoryAxis() && + if( m_bHasCategories && m_rCategoriesContext.is() ) { OSL_ENSURE( GetAttrList().is(), "Invalid attribute list" ); |