Commit 0eb72dbf authored by Albert Astals Cid's avatar Albert Astals Cid

PSOuputDev: Rename rotate local variable to pageRotate

fixes shadow warning
parent 6831a1eb
......@@ -1349,8 +1349,8 @@ void PSOutputDev::postInit()
h = (int)ceil(page->getCropHeight());
}
if (paperMatch) {
int rotate = page->getRotate();
if (rotate == 90 || rotate == 270)
const int pageRotate = page->getRotate();
if (pageRotate == 90 || pageRotate == 270)
std::swap(w, h);
}
if (w > paperWidth)
......
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