summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 16:38:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-03 10:30:00 +0100
commit0dca40256320753fdbd42ac9c7de889026d7d469 (patch)
tree647d059917e22a0b910f7d6d803bd50ad953edcd /vcl/inc
parentb477f791e3e332b41c80782844c4c379212f0fd8 (diff)
loplugin:constparam in vcl,svtools
Change-Id: I7a3eb2bfda869e9e66db919f929ead60cf8890a4 Reviewed-on: https://gerrit.libreoffice.org/44209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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);