summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-20 10:34:01 +0200
committerNoel Grandin <noel@peralex.com>2016-04-21 08:32:47 +0200
commit5abc669599001bf888b97c4d3c2715e1fb7523b9 (patch)
tree2407c6fc040a795e6ffc69de02ba940285c04c7f /drawinglayer
parent5bb308a9ad16f6002486a60e4a753693818580b6 (diff)
new plugin stylepolice
check for local variables which follow our member field naming convention, which is highly confusing Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/tools/converters.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx
index 635f37aa71ec..ac41e60fbc77 100644
--- a/drawinglayer/source/tools/converters.cxx
+++ b/drawinglayer/source/tools/converters.cxx
@@ -71,21 +71,21 @@ namespace drawinglayer
const Point aEmptyPoint;
const Size aSizePixel(nDiscreteWidth, nDiscreteHeight);
- ScopedVclPtrInstance< VirtualDevice > maContent;
+ ScopedVclPtrInstance< VirtualDevice > pContent;
// prepare vdev
- maContent->SetOutputSizePixel(aSizePixel, false);
- maContent->SetMapMode(aMapModePixel);
+ pContent->SetOutputSizePixel(aSizePixel, false);
+ pContent->SetMapMode(aMapModePixel);
// set to all white
- maContent->SetBackground(Wallpaper(Color(COL_WHITE)));
- maContent->Erase();
+ pContent->SetBackground(Wallpaper(Color(COL_WHITE)));
+ pContent->Erase();
// create pixel processor, also already takes care of AAing and
// checking the getOptionsDrawinglayer().IsAntiAliasing() switch. If
// not wanted, change after this call as needed
processor2d::BaseProcessor2D* pContentProcessor = processor2d::createPixelProcessor2DFromOutputDevice(
- *maContent.get(),
+ *pContent.get(),
rViewInformation2D);
if(pContentProcessor)
@@ -94,8 +94,8 @@ namespace drawinglayer
pContentProcessor->process(aSequence);
// get content
- maContent->EnableMapMode(false);
- const Bitmap aContent(maContent->GetBitmap(aEmptyPoint, aSizePixel));
+ pContent->EnableMapMode(false);
+ const Bitmap aContent(pContent->GetBitmap(aEmptyPoint, aSizePixel));
#ifdef DBG_UTIL
if(bDoSaveForVisualControl)
@@ -106,10 +106,10 @@ namespace drawinglayer
}
#endif
// prepare for mask creation
- maContent->SetMapMode(aMapModePixel);
+ pContent->SetMapMode(aMapModePixel);
// set alpha to all white (fully transparent)
- maContent->Erase();
+ pContent->Erase();
// embed primitives to paint them black
const primitive2d::Primitive2DReference xRef(
@@ -125,8 +125,8 @@ namespace drawinglayer
delete pContentProcessor;
// get alpha channel from vdev
- maContent->EnableMapMode(false);
- const Bitmap aAlpha(maContent->GetBitmap(aEmptyPoint, aSizePixel));
+ pContent->EnableMapMode(false);
+ const Bitmap aAlpha(pContent->GetBitmap(aEmptyPoint, aSizePixel));
#ifdef DBG_UTIL
if(bDoSaveForVisualControl)
{