diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-02 12:57:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-02 13:45:36 +0200 |
commit | 3dcf6dfceee58360501396390d78c006351aef47 (patch) | |
tree | 6e8cea499ee3a9543a03fd4a5321f5153c76cd65 /filter | |
parent | 3b35bcf25fce566f91d084574650181ea791dff8 (diff) |
remove unnecessary use of 'this->'
Change-Id: I5c115389af7d24c18ddaf5fbec8c00f35017a5b4
Reviewed-on: https://gerrit.libreoffice.org/40671
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/cacheitem.cxx | 12 | ||||
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 8 | ||||
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 6 |
3 files changed, 13 insertions, 13 deletions
diff --git a/filter/source/config/cache/cacheitem.cxx b/filter/source/config/cache/cacheitem.cxx index 21db68c3c382..ef117d22cb6f 100644 --- a/filter/source/config/cache/cacheitem.cxx +++ b/filter/source/config/cache/cacheitem.cxx @@ -45,8 +45,8 @@ void CacheItem::update(const CacheItem& rUpdateItem) pItUpdate != rUpdateItem.end() ; ++pItUpdate ) { - iterator pItThis = this->find(pItUpdate->first); - if (pItThis == this->end()) + iterator pItThis = find(pItUpdate->first); + if (pItThis == end()) (*this)[pItUpdate->first] = pItUpdate->second; // add new prop else pItThis->second = pItUpdate->second; // change value of existing prop @@ -305,8 +305,8 @@ bool CacheItem::haveProps(const CacheItem& lProps) const ++pIt ) { // i) one required property does not exist at this item => return false - const_iterator pItThis = this->find(pIt->first); - if (pItThis == this->end()) + const_iterator pItThis = find(pIt->first); + if (pItThis == end()) { FILTER_CONFIG_LOG_1_("CacheItem::haveProps() ... didn't found \"%s\" => return FALSE\n", _FILTER_CONFIG_TO_ASCII_(pIt->first)) return false; @@ -338,8 +338,8 @@ bool CacheItem::dontHaveProps(const CacheItem& lProps) const // => continue with next one, because // "excluding" means... "don't have it". // And "not exists" matches to "don't have it". - const_iterator pItThis = this->find(pIt->first); - if (pItThis == this->end()) + const_iterator pItThis = find(pIt->first); + if (pItThis == end()) { FILTER_CONFIG_LOG_1_("CacheItem::dontHaveProps() ... not found \"%s\" => continue loop!\n", _FILTER_CONFIG_TO_ASCII_(pIt->first)) continue; diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index af2988743336..e49eb2264593 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -5961,12 +5961,12 @@ void SvxMSDffManager::GetDrawingContainerData( SvStream& rSt, sal_uLong nLenDg, // Patriarch found (the upmost shape group container) ? if( DFF_msofbtSpgrContainer == nFbt ) { - if(!this->GetShapeGroupContainerData( rSt, nLength, true, nDrawingContainerId )) return; + if(!GetShapeGroupContainerData( rSt, nLength, true, nDrawingContainerId )) return; } // empty Shape Container ? (outside of shape group container) else if( DFF_msofbtSpContainer == nFbt ) { - if(!this->GetShapeContainerData( rSt, nLength, ULONG_MAX, nDrawingContainerId )) return; + if(!GetShapeContainerData( rSt, nLength, ULONG_MAX, nDrawingContainerId )) return; } else rSt.SeekRel( nLength ); @@ -5995,14 +5995,14 @@ bool SvxMSDffManager::GetShapeGroupContainerData( SvStream& rSt, if( DFF_msofbtSpContainer == nFbt ) { sal_uLong nGroupOffs = bFirst ? nStartShapeGroupCont - DFF_COMMON_RECORD_HEADER_SIZE : ULONG_MAX; - if ( !this->GetShapeContainerData( rSt, nLength, nGroupOffs, nDrawingContainerId ) ) + if ( !GetShapeContainerData( rSt, nLength, nGroupOffs, nDrawingContainerId ) ) return false; bFirst = false; } // nested shape group container ? else if( DFF_msofbtSpgrContainer == nFbt ) { - if ( !this->GetShapeGroupContainerData( rSt, nLength, false, nDrawingContainerId ) ) + if ( !GetShapeGroupContainerData( rSt, nLength, false, nDrawingContainerId ) ) return false; } else diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 6caf231ad57e..069309f540c1 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -1530,10 +1530,10 @@ void SVGTextWriter::writeTextPortion( const Point& rPos, return; bool bStandAloneTextPortion = false; - if( !this->isTextShapeStarted() ) + if( !isTextShapeStarted() ) { bStandAloneTextPortion = true; - this->startTextShape(); + startTextShape(); } mbLineBreak = false; @@ -1602,7 +1602,7 @@ void SVGTextWriter::writeTextPortion( const Point& rPos, if( bStandAloneTextPortion ) { - this->endTextShape(); + endTextShape(); } } |