summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/bitmap3.cxx')
-rw-r--r--vcl/source/gdi/bitmap3.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 78ac64e7961f..3b0b1cd76bfb 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -591,7 +591,7 @@ bool Bitmap::ImplConvertDown(sal_uInt16 nBitCount, Color const * pExtColor)
pWriteAcc->SetPalette(aPalette);
- for (tools::Long nY = 0; nY < std::min(nHeight, 2L); nY++, nYTmp++)
+ for (tools::Long nY = 0; nY < std::min(nHeight, tools::Long(2)); nY++, nYTmp++)
{
pQLine2 = !nY ? aErrQuad1.data() : aErrQuad2.data();
Scanline pScanlineRead = pReadAcc->GetScanline(nYTmp);
@@ -872,8 +872,8 @@ bool Bitmap::Dither()
tools::Long nW2 = nW - 3;
tools::Long nRErr, nGErr, nBErr;
tools::Long nRC, nGC, nBC;
- std::unique_ptr<long[]> p1(new long[ nW ]);
- std::unique_ptr<long[]> p2(new long[ nW ]);
+ std::unique_ptr<tools::Long[]> p1(new tools::Long[ nW ]);
+ std::unique_ptr<tools::Long[]> p2(new tools::Long[ nW ]);
tools::Long* p1T = p1.get();
tools::Long* p2T = p2.get();
tools::Long* pTmp;
@@ -991,7 +991,7 @@ bool Bitmap::Dither()
return bRet;
}
-void Bitmap::Vectorize( GDIMetaFile& rMtf, sal_uInt8 cReduce, const Link<long,void>* pProgress )
+void Bitmap::Vectorize( GDIMetaFile& rMtf, sal_uInt8 cReduce, const Link<tools::Long,void>* pProgress )
{
ImplVectorizer::ImplVectorize( *this, rMtf, cReduce, pProgress );
}