summaryrefslogtreecommitdiff
path: root/fofi
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2018-09-23 01:21:55 +0200
committerAlbert Astals Cid <aacid@kde.org>2018-09-23 01:21:55 +0200
commitf4800bffe2756a64cba03cb1a017bfacad63fdb0 (patch)
tree3f13f7af12049e45bb896035f426d720da0f1190 /fofi
parent735d234d76b31c7d2061f70d0cf88cc122613a80 (diff)
FoFiType1C: Some more const
Diffstat (limited to 'fofi')
-rw-r--r--fofi/FoFiType1C.cc4
-rw-r--r--fofi/FoFiType1C.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/fofi/FoFiType1C.cc b/fofi/FoFiType1C.cc
index 1cfc4746..8b632c44 100644
--- a/fofi/FoFiType1C.cc
+++ b/fofi/FoFiType1C.cc
@@ -492,7 +492,7 @@ void FoFiType1C::convertToType1(const char *psName, const char **newEncoding, GB
(*outputFunc)(outputStream, "cleartomark\n", 12);
}
-void FoFiType1C::convertToCIDType0(char *psName, int *codeMap, int nCodes,
+void FoFiType1C::convertToCIDType0(const char *psName, int *codeMap, int nCodes,
FoFiOutputFunc outputFunc,
void *outputStream) {
int *cidMap;
@@ -837,7 +837,7 @@ void FoFiType1C::convertToCIDType0(char *psName, int *codeMap, int nCodes,
gfree(cidMap);
}
-void FoFiType1C::convertToType0(char *psName, int *codeMap, int nCodes,
+void FoFiType1C::convertToType0(const char *psName, int *codeMap, int nCodes,
FoFiOutputFunc outputFunc,
void *outputStream) {
int *cidMap;
diff --git a/fofi/FoFiType1C.h b/fofi/FoFiType1C.h
index e2c5076d..58e2b9a2 100644
--- a/fofi/FoFiType1C.h
+++ b/fofi/FoFiType1C.h
@@ -191,7 +191,7 @@ public:
// font's internal CID-to-GID mapping is used
// (3) is <codeMap> is NULL and this is an 8-bit CFF font, then
// the identity CID-to-GID mapping is used
- void convertToCIDType0(char *psName, int *codeMap, int nCodes,
+ void convertToCIDType0(const char *psName, int *codeMap, int nCodes,
FoFiOutputFunc outputFunc, void *outputStream);
// Convert to a Type 0 (but non-CID) composite font, suitable for
@@ -203,7 +203,7 @@ public:
// font's internal CID-to-GID mapping is used
// (3) is <codeMap> is NULL and this is an 8-bit CFF font, then
// the identity CID-to-GID mapping is used
- void convertToType0(char *psName, int *codeMap, int nCodes,
+ void convertToType0(const char *psName, int *codeMap, int nCodes,
FoFiOutputFunc outputFunc, void *outputStream);
private: