summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter/epict/epict.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:15:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:25 +0100
commit3cdda9af2c12a9ae2a1f0bdf8ca898f1f5c69bfb (patch)
treeba25525cbc9661509d8f01e93164e0febb8a0894 /filter/source/graphicfilter/epict/epict.cxx
parent7702e3128768f1b4b8a1ee9e87e397887e151af4 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I61e494952df8cc40fff3ccad0936adf06035dbeb
Diffstat (limited to 'filter/source/graphicfilter/epict/epict.cxx')
-rw-r--r--filter/source/graphicfilter/epict/epict.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/graphicfilter/epict/epict.cxx b/filter/source/graphicfilter/epict/epict.cxx
index 0ff8ce948dcb..2d4248d9b0c5 100644
--- a/filter/source/graphicfilter/epict/epict.cxx
+++ b/filter/source/graphicfilter/epict/epict.cxx
@@ -866,7 +866,7 @@ void PictWriter::WriteOpcode_Poly(PictDrawingMethod eMethod, const tools::Polygo
void PictWriter::WriteOpcode_BitsRect(const Point & rPoint, const Size & rSize, const Bitmap & rBitmap)
{
- BitmapReadAccess* pAcc = NULL;
+ BitmapReadAccess* pAcc = nullptr;
Bitmap aBitmap( rBitmap );
sal_uLong nWidth, nHeight, nDstRowBytes, nx, nc, ny, nCount, nColTabSize, i;
@@ -884,7 +884,7 @@ void PictWriter::WriteOpcode_BitsRect(const Point & rPoint, const Size & rSize,
if ( !bStatus )
return;
- if ( ( pAcc = aBitmap.AcquireReadAccess() ) == NULL )
+ if ( ( pAcc = aBitmap.AcquireReadAccess() ) == nullptr )
return;
nBitsPerPixel = aBitmap.GetBitCount();
@@ -1308,7 +1308,7 @@ void PictWriter::SetAttrForText()
void PictWriter::WriteTextArray(Point & rPoint, const OUString& rString, const long* pDXAry)
{
- if ( pDXAry == NULL )
+ if ( pDXAry == nullptr )
WriteOpcode_Text( rPoint, rString, false );
else
{
@@ -2212,7 +2212,7 @@ bool PictWriter::WritePict(const GDIMetaFile & rMTF, SvStream & rTargetStream, F
aMap72.SetScaleY( aDPIFrac );
aTargetMapMode = aMap72;
- pAttrStack=NULL;
+ pAttrStack=nullptr;
bDstBkPatValid=false;
bDstTxFaceValid=false;
@@ -2241,7 +2241,7 @@ bool PictWriter::WritePict(const GDIMetaFile & rMTF, SvStream & rTargetStream, F
WriteOpcode_EndOfFile();
UpdateHeader();
- while (pAttrStack!=NULL) {
+ while (pAttrStack!=nullptr) {
pAt=pAttrStack;
pAttrStack=pAt->pSucc;
delete pAt;