diff options
author | Nigel Hawkins <n.hawkins@gmx.com> | 2010-11-03 16:05:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-03 20:31:21 +0000 |
commit | f0708abc6f2db6410f9bc6925eaa48210415bedb (patch) | |
tree | d8b5071c09ba11732147bc6eb75162239a5f6166 /vcl/source/fontsubset/cff.cxx | |
parent | 7c8e265b0b409f954f73832a4b6d6dc14bdc76b0 (diff) |
vcl: fix fprintf compile warnings in cff.cxx
Diffstat (limited to 'vcl/source/fontsubset/cff.cxx')
-rw-r--r-- | vcl/source/fontsubset/cff.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx index a94e46659a41..26a0100c3db8 100644 --- a/vcl/source/fontsubset/cff.cxx +++ b/vcl/source/fontsubset/cff.cxx @@ -2048,7 +2048,7 @@ void Type1Emitter::emitValVector( const char* pLineHead, const char* pLineTail, return; // emit the line head - mpPtr += sprintf( mpPtr, pLineHead); + mpPtr += sprintf( mpPtr, "%s", pLineHead); // emit the vector values ValVector::value_type aVal = 0; for( ValVector::const_iterator it = rVector.begin();;) { @@ -2061,7 +2061,7 @@ void Type1Emitter::emitValVector( const char* pLineHead, const char* pLineTail, // emit the last value mpPtr += dbl2str( mpPtr, aVal); // emit the line tail - mpPtr += sprintf( mpPtr, pLineTail); + mpPtr += sprintf( mpPtr, "%s", pLineTail); } // -------------------------------------------------------------------- |