Kaydet (Commit) 943e2930 authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: reduce scope

Change-Id: Id3715b84a2328ca37fbc05d552fe58617ecfa78a
üst 4b3b7fc3
...@@ -233,8 +233,6 @@ void OutputDevice::ImplDrawPolyPolygon( sal_uInt16 nPoly, const PolyPolygon& rPo ...@@ -233,8 +233,6 @@ void OutputDevice::ImplDrawPolyPolygon( sal_uInt16 nPoly, const PolyPolygon& rPo
return; return;
sal_uInt32 aStackAry1[OUTDEV_POLYPOLY_STACKBUF]; sal_uInt32 aStackAry1[OUTDEV_POLYPOLY_STACKBUF];
PCONSTSALPOINT aStackAry2[OUTDEV_POLYPOLY_STACKBUF];
sal_uInt8* aStackAry3[OUTDEV_POLYPOLY_STACKBUF];
sal_uInt32* pPointAry; sal_uInt32* pPointAry;
PCONSTSALPOINT* pPointAryAry; PCONSTSALPOINT* pPointAryAry;
const sal_uInt8** pFlagAryAry; const sal_uInt8** pFlagAryAry;
...@@ -248,6 +246,8 @@ void OutputDevice::ImplDrawPolyPolygon( sal_uInt16 nPoly, const PolyPolygon& rPo ...@@ -248,6 +246,8 @@ void OutputDevice::ImplDrawPolyPolygon( sal_uInt16 nPoly, const PolyPolygon& rPo
} }
else else
{ {
PCONSTSALPOINT aStackAry2[OUTDEV_POLYPOLY_STACKBUF];
sal_uInt8* aStackAry3[OUTDEV_POLYPOLY_STACKBUF];
pPointAry = aStackAry1; pPointAry = aStackAry1;
pPointAryAry = aStackAry2; pPointAryAry = aStackAry2;
pFlagAryAry = (const sal_uInt8**)aStackAry3; pFlagAryAry = (const sal_uInt8**)aStackAry3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment