From 43b4903db3e925c652e25c34362490f8adc9c5ec Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Apr 2016 09:22:13 +0200 Subject: teach stylepolice plugin about ref-counted-pointer naming Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins Reviewed-by: Noel Grandin --- canvas/source/vcl/canvasbitmaphelper.cxx | 6 +++--- canvas/source/vcl/canvashelper.cxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'canvas/source') diff --git a/canvas/source/vcl/canvasbitmaphelper.cxx b/canvas/source/vcl/canvasbitmaphelper.cxx index 6f5340f74127..3f388e125541 100644 --- a/canvas/source/vcl/canvasbitmaphelper.cxx +++ b/canvas/source/vcl/canvasbitmaphelper.cxx @@ -533,11 +533,11 @@ namespace vclcanvas if( !mpOutDev.get() ) return rendering::IntegerBitmapLayout(); // we're disposed - rendering::IntegerBitmapLayout xBitmapLayout( ::canvas::tools::getStdMemoryLayout(getSize()) ); + rendering::IntegerBitmapLayout aBitmapLayout( ::canvas::tools::getStdMemoryLayout(getSize()) ); if ( !hasAlpha() ) - xBitmapLayout.ColorSpace = canvas::tools::getStdColorSpaceWithoutAlpha(); + aBitmapLayout.ColorSpace = canvas::tools::getStdColorSpaceWithoutAlpha(); - return xBitmapLayout; + return aBitmapLayout; } BitmapEx CanvasBitmapHelper::getBitmap() const diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx index b294b73503f3..79785aa15e2f 100644 --- a/canvas/source/vcl/canvashelper.cxx +++ b/canvas/source/vcl/canvashelper.cxx @@ -1190,11 +1190,11 @@ namespace vclcanvas if( !mpOutDev.get() ) return rendering::IntegerBitmapLayout(); // we're disposed - rendering::IntegerBitmapLayout xBitmapLayout( ::canvas::tools::getStdMemoryLayout(getSize()) ); + rendering::IntegerBitmapLayout aBitmapLayout( ::canvas::tools::getStdMemoryLayout(getSize()) ); if ( !mbHaveAlpha ) - xBitmapLayout.ColorSpace = canvas::tools::getStdColorSpaceWithoutAlpha(); + aBitmapLayout.ColorSpace = canvas::tools::getStdColorSpaceWithoutAlpha(); - return xBitmapLayout; + return aBitmapLayout; } int CanvasHelper::setupOutDevState( const rendering::ViewState& viewState, -- cgit