summaryrefslogtreecommitdiff
path: root/vcl/source/fontsubset/cff.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-25 15:00:10 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-26 07:43:13 +0000
commit30d8216ba3b471df7276abcd8c8744cd426e6967 (patch)
tree28b092f04e6e0674f783799c90c743c2f9224ee3 /vcl/source/fontsubset/cff.cxx
parent2d162b1c70c1bc16d682b74ee1d0b13a9a80717d (diff)
loplugin:unuseddefaultparam in vcl/
Change-Id: Ic09d160ed6e3cdcd95bc04844ee8f20cfcb286ec Reviewed-on: https://gerrit.libreoffice.org/22698 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/fontsubset/cff.cxx')
-rw-r--r--vcl/source/fontsubset/cff.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index 7370733883f7..6ea7268318a4 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -1841,9 +1841,9 @@ void Type1Emitter::emitAllCrypted()
// #i110387# quick-and-dirty double->ascii conversion
// needed because sprintf/ecvt/etc. alone are too localized (LC_NUMERIC)
// also strip off trailing zeros in fraction while we are at it
-inline int dbl2str( char* pOut, double fVal, int nPrecision=6)
+inline int dbl2str( char* pOut, double fVal)
{
- const int nLen = psp::getValueOfDouble( pOut, fVal, nPrecision);
+ const int nLen = psp::getValueOfDouble( pOut, fVal, 6);
return nLen;
}