summaryrefslogtreecommitdiffstats
path: root/printing/page_overlays.h
diff options
context:
space:
mode:
Diffstat (limited to 'printing/page_overlays.h')
-rw-r--r--printing/page_overlays.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/printing/page_overlays.h b/printing/page_overlays.h
index f30aa26..0ffc1ba 100644
--- a/printing/page_overlays.h
+++ b/printing/page_overlays.h
@@ -40,8 +40,9 @@ class PageOverlays {
VerticalPosition y) const;
// Sets the string of an overlay according to its x,y position.
- void SetOverlay(HorizontalPosition x, VerticalPosition y,
- std::wstring& input);
+ void SetOverlay(HorizontalPosition x,
+ VerticalPosition y,
+ const std::wstring& input);
// Replaces the variables in |input| with their actual values according to the
// properties of the current printed document and the current printed page.