summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2023-03-02 23:17:45 +0300
committerormorph <roma251078@mail.ru>2023-03-03 06:01:56 +0300
commit2b9cf56a7279b00af540ba193f28c8be2c51915f (patch)
tree8dba4b871f96ffd5b0f04104a8c34a1524cf410c
parent35ce85f8c42ceb2e8c880c8dead393c192ff2585 (diff)
downloadkoffice-2b9cf56a7279b00af540ba193f28c8be2c51915f.tar.gz
koffice-2b9cf56a7279b00af540ba193f28c8be2c51915f.zip
Added build fix for with new version of libpaper
Signed-off-by: ormorph <roma251078@mail.ru>
-rw-r--r--filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp b/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp
index be2569d3..e4c3e3b5 100644
--- a/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp
+++ b/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp
@@ -146,7 +146,7 @@ GlobalParams::GlobalParams(const char *cfgFileName) {
displayCIDFonts = new GHash();
displayNamedCIDFonts = new GHash();
#ifdef HAVE_PAPER_H
- char *paperName;
+ const char *paperName;
const struct paper *paperType;
paperinit();
if ((paperName = systempapername())) {