summaryrefslogtreecommitdiffstats
path: root/printing/units.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/units.cc')
-rw-r--r--printing/units.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/printing/units.cc b/printing/units.cc
index f1ec616..dcee9ea 100644
--- a/printing/units.cc
+++ b/printing/units.cc
@@ -52,13 +52,4 @@ double ConvertPointsToPixelDouble(double points) {
return ConvertUnitDouble(points, kPointsPerInch, kPixelsPerInch);
}
-double GetHeaderFooterSegmentWidth(double page_width) {
- // Interstice is left at both ends of the page as well as between
- // each region, so 1 is added.
- double total_interstice_width = (kSettingHeaderFooterHorizontalRegions + 1) *
- kSettingHeaderFooterInterstice;
- return (page_width - total_interstice_width) /
- kSettingHeaderFooterHorizontalRegions;
-}
-
} // namespace printing