summaryrefslogtreecommitdiff
path: root/canvas/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-27 09:22:13 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-28 09:31:16 +0000
commit43b4903db3e925c652e25c34362490f8adc9c5ec (patch)
treeaf12777b72d42280467e8cc19b914b2c7f4f3816 /canvas/source
parent7d6308dad9f4a079d57719a6e3a9c4cebb47d051 (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 'canvas/source')
-rw-r--r--canvas/source/vcl/canvasbitmaphelper.cxx6
-rw-r--r--canvas/source/vcl/canvashelper.cxx6
2 files changed, 6 insertions, 6 deletions
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,