summaryrefslogtreecommitdiffstats
path: root/printing/page_setup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/page_setup.cc')
-rw-r--r--printing/page_setup.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/printing/page_setup.cc b/printing/page_setup.cc
index ad0156e..f0ea223 100644
--- a/printing/page_setup.cc
+++ b/printing/page_setup.cc
@@ -19,14 +19,6 @@ PageMargins::PageMargins()
bottom(0) {
}
-void PageMargins::Rotate() {
- int temp_right = right;
- right = bottom;
- bottom = left;
- left = top;
- top = temp_right;
-}
-
void PageMargins::Clear() {
header = 0;
footer = 0;
@@ -107,7 +99,6 @@ void PageSetup::FlipOrientation() {
new_y,
printable_area_.height(),
printable_area_.width());
- requested_margins_.Rotate();
Init(new_size, new_printable_area, text_height_);
}
}