PSOuputDev: Rename rotate local variable to pageRotate
fixes shadow warning
diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index f4d5675..f0ee4df 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -1349,8 +1349,8 @@
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)