diff options
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfentries.cxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/genericelements.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index 0054faba9bd1..bc379e5e2508 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -1366,7 +1366,7 @@ PDFFileImplData* PDFFile::impl_getData() const { OUStringBuffer aTmp; for( int i = 0; i < aEnt.getLength(); i++ ) - aTmp.append(" ").append(static_cast<sal_Int32>(sal_uInt8(aEnt[i])), 16); + aTmp.append(" " + OUString::number(sal_uInt8(aEnt[i]), 16)); SAL_WARN("sdext.pdfimport.pdfparse", "O entry has length " << static_cast<int>(aEnt.getLength()) << ", should be 32 <" << aTmp.makeStringAndClear() << ">" ); } @@ -1386,7 +1386,7 @@ PDFFileImplData* PDFFile::impl_getData() const { OUStringBuffer aTmp; for( int i = 0; i < aEnt.getLength(); i++ ) - aTmp.append(" ").append(static_cast<sal_Int32>(sal_uInt8(aEnt[i])), 16); + aTmp.append(" " + OUString::number(sal_uInt8(aEnt[i]), 16)); SAL_WARN("sdext.pdfimport.pdfparse", "U entry has length " << static_cast<int>(aEnt.getLength()) << ", should be 32 <" << aTmp.makeStringAndClear() << ">" ); } diff --git a/sdext/source/pdfimport/tree/genericelements.cxx b/sdext/source/pdfimport/tree/genericelements.cxx index 3754d811e4ab..b02e2c0a727d 100644 --- a/sdext/source/pdfimport/tree/genericelements.cxx +++ b/sdext/source/pdfimport/tree/genericelements.cxx @@ -167,7 +167,7 @@ void PolyPolyElement::emitStructure( int nLevel) for( int n = 0; n < nPoints; n++ ) { basegfx::B2DPoint aPoint = aPoly.getB2DPoint( n ); - buff.append( " (").append(aPoint.getX()).append(",").append(aPoint.getY()).append(")"); + buff.append( " (" + OUString::number(aPoint.getX()) + "," + OUString::number(aPoint.getY()) + ")"); } SAL_WARN( "sdext", " " << buff.makeStringAndClear() ); } |