summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/sallayout.hxx2
-rw-r--r--vcl/inc/sft.hxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index b64de3ffed69..9b169eabcd29 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -115,7 +115,7 @@ private:
};
// For nice SAL_INFO logging of ImplLayoutArgs values
-std::ostream &operator <<(std::ostream& s, ImplLayoutArgs &rArgs);
+std::ostream &operator <<(std::ostream& s, ImplLayoutArgs const &rArgs);
// all positions/widths are in font units
// one exception: drawposition is in pixel units
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx
index 80225dc04fd6..3d676aa371e8 100644
--- a/vcl/inc/sft.hxx
+++ b/vcl/inc/sft.hxx
@@ -344,7 +344,7 @@ namespace vcl
* @ingroup sft
*
*/
- int CreateT3FromTTGlyphs(TrueTypeFont *ttf, FILE *outf, const char *fname, sal_uInt16 *glyphArray, sal_uInt8 *encoding, int nGlyphs, int wmode);
+ int CreateT3FromTTGlyphs(TrueTypeFont *ttf, FILE *outf, const char *fname, sal_uInt16 const *glyphArray, sal_uInt8 *encoding, int nGlyphs, int wmode);
/**
* Generates a new TrueType font and dumps it to <b>outf</b> file.
@@ -368,8 +368,8 @@ namespace vcl
*/
int CreateTTFromTTGlyphs(TrueTypeFont *ttf,
const char *fname,
- sal_uInt16 *glyphArray,
- sal_uInt8 *encoding,
+ sal_uInt16 const *glyphArray,
+ sal_uInt8 const *encoding,
int nGlyphs,
int nNameRecs,
NameRecord const *nr);
@@ -397,7 +397,7 @@ namespace vcl
int CreateT42FromTTGlyphs(TrueTypeFont *ttf,
FILE *outf,
const char *psname,
- sal_uInt16 *glyphArray,
+ sal_uInt16 const *glyphArray,
sal_uInt8 *encoding,
int nGlyphs);