]>
Commit | Line | Data |
---|---|---|
7646e731 JP |
1 | From 2561a9dc5ebdfd90cc2781ca8f1560f4faff19a1 Mon Sep 17 00:00:00 2001 |
2 | From: Till Kamppeter <till.kamppeter@gmail.com> | |
3 | Date: Tue, 8 May 2018 20:57:56 +0200 | |
4 | Subject: [PATCH] pdftoopvp: Silence compiler warning. | |
5 | ||
6 | --- | |
7 | NEWS | 1 + | |
8 | filter/pdftoopvp/OPVPOutputDev.cxx | 2 +- | |
9 | 2 files changed, 2 insertions(+), 1 deletion(-) | |
10 | ||
11 | diff --git a/NEWS b/NEWS | |
12 | index e29e3ba8..19caf601 100644 | |
13 | --- a/NEWS | |
14 | +++ b/NEWS | |
15 | @@ -3,6 +3,7 @@ NEWS - OpenPrinting CUPS Filters v1.20.3 - 2018-04-12 | |
16 | ||
17 | CHANGES IN V1.20.4 | |
18 | ||
19 | + - pdftoopvp: Silence compiler warning (Issue #42). | |
20 | - cups-browsed: If the user modifies/overwrites a print queue | |
21 | created by cups-browsed, it will now not only be | |
22 | automatically released from the control of cups-browsed, but | |
23 | diff --git a/filter/pdftoopvp/OPVPOutputDev.cxx b/filter/pdftoopvp/OPVPOutputDev.cxx | |
24 | index 63806e8a..45ebe02c 100644 | |
25 | --- a/filter/pdftoopvp/OPVPOutputDev.cxx | |
26 | +++ b/filter/pdftoopvp/OPVPOutputDev.cxx | |
27 | @@ -66,7 +66,7 @@ struct SplashOutFontSubst { | |
28 | class SplashOutFontFileID: public SplashFontFileID { | |
29 | public: | |
30 | ||
31 | - SplashOutFontFileID(Ref *rA) { r = *rA; substIdx = -1; } | |
32 | + SplashOutFontFileID(const Ref *rA) { r = *rA; substIdx = -1; } | |
33 | ||
34 | ~SplashOutFontFileID() {} | |
35 |