diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-27 09:22:13 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-28 09:31:16 +0000 |
commit | 43b4903db3e925c652e25c34362490f8adc9c5ec (patch) | |
tree | af12777b72d42280467e8cc19b914b2c7f4f3816 /svx | |
parent | 7d6308dad9f4a079d57719a6e3a9c4cebb47d051 (diff) |
teach stylepolice plugin about ref-counted-pointer naming
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752
Reviewed-on: https://gerrit.libreoffice.org/24459
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdoashp.cxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index d21cd0b10813..b23ff7e81f5e 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -601,7 +601,7 @@ basegfx::B2DPolyPolygon SdrObjCustomShape::GetLineGeometry( const bool bBezierAl std::vector< SdrCustomShapeInteraction > SdrObjCustomShape::GetInteractionHandles() const { - std::vector< SdrCustomShapeInteraction > xRet; + std::vector< SdrCustomShapeInteraction > aRet; try { Reference< XCustomShapeEngine > xCustomShapeEngine( GetCustomShapeEngine() ); @@ -676,7 +676,7 @@ std::vector< SdrCustomShapeInteraction > SdrObjCustomShape::GetInteractionHandle default: break; } aSdrCustomShapeInteraction.nMode = nMode; - xRet.push_back( aSdrCustomShapeInteraction ); + aRet.push_back( aSdrCustomShapeInteraction ); } } } @@ -684,7 +684,7 @@ std::vector< SdrCustomShapeInteraction > SdrObjCustomShape::GetInteractionHandle catch( const uno::RuntimeException& ) { } - return xRet; + return aRet; } diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 5763aa183b72..0f2b64279e70 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -71,10 +71,10 @@ const Graphic ImpLoadLinkedGraphic( const OUString& aFileName, const OUString& a { Graphic aGraphic; - SfxMedium xMed( aFileName, aReferer, STREAM_STD_READ ); - xMed.Download(); + SfxMedium aMed( aFileName, aReferer, STREAM_STD_READ ); + aMed.Download(); - SvStream* pInStrm = xMed.GetInStream(); + SvStream* pInStrm = aMed.GetInStream(); if ( pInStrm ) { pInStrm->Seek( STREAM_SEEK_TO_BEGIN ); |