summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_cairo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printing_context_cairo.cc')
-rw-r--r--printing/printing_context_cairo.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/printing/printing_context_cairo.cc b/printing/printing_context_cairo.cc
index d82f626..86de49c 100644
--- a/printing/printing_context_cairo.cc
+++ b/printing/printing_context_cairo.cc
@@ -13,9 +13,6 @@ namespace printing {
PrintingContext::PrintingContext()
:
-#ifndef NDEBUG
- page_number_(-1),
-#endif
dialog_box_dismissed_(false),
in_print_job_(false),
abort_printing_(false) {
@@ -66,9 +63,6 @@ PrintingContext::Result PrintingContext::InitWithSettings(
}
void PrintingContext::ResetSettings() {
-#ifndef NDEBUG
- page_number_ = -1;
-#endif
dialog_box_dismissed_ = false;
abort_printing_ = false;
in_print_job_ = false;
@@ -80,10 +74,6 @@ PrintingContext::Result PrintingContext::NewDocument(
NOTIMPLEMENTED();
-#ifndef NDEBUG
- page_number_ = 0;
-#endif
-
return FAILED;
}
@@ -94,10 +84,6 @@ PrintingContext::Result PrintingContext::NewPage() {
NOTIMPLEMENTED();
-#ifndef NDEBUG
- ++page_number_;
-#endif
-
return FAILED;
}