summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 268d97252d2e..5bf53e198b55 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: pdfwriter_impl.cxx,v $
- * $Revision: 1.130 $
+ * $Revision: 1.131 $
*
* This file is part of OpenOffice.org.
*
@@ -2419,7 +2419,7 @@ OString PDFWriterImpl::emitStructureAttributes( PDFStructureElement& i_rEle )
{
DBG_ERROR( "unresolved link id for Link structure" );
#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "unresolved link id %d for Link structure\n", nLink );
+ fprintf( stderr, "unresolved link id %d for Link structure\n", (int)nLink );
{
OStringBuffer aLine( "unresolved link id " );
aLine.append( nLink );
@@ -2520,7 +2520,7 @@ sal_Int32 PDFWriterImpl::emitStructure( PDFStructureElement& rEle )
{
DBG_ERROR( "PDFWriterImpl::emitStructure: invalid child structure element" );
#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "PDFWriterImpl::emitStructure: invalid child structure elemnt with id %d\n", *it );
+ fprintf( stderr, "PDFWriterImpl::emitStructure: invalid child structure elemnt with id %d\n", (int)*it );
#endif
}
}
@@ -2529,7 +2529,7 @@ sal_Int32 PDFWriterImpl::emitStructure( PDFStructureElement& rEle )
{
DBG_ERROR( "PDFWriterImpl::emitStructure: invalid child structure id" );
#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "PDFWriterImpl::emitStructure: invalid child structure id %d\n", *it );
+ fprintf( stderr, "PDFWriterImpl::emitStructure: invalid child structure id %d\n", (int)*it );
#endif
}
}
@@ -10296,9 +10296,9 @@ void PDFWriterImpl::beginStructureElementMCSeq()
// update the element's content list
#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "beginning marked content id %d on page object %d, structure first page = %d\n",
- nMCID,
- m_aPages[ m_nCurrentPage ].m_nPageObject,
- rEle.m_nFirstPageObject );
+ (int)nMCID,
+ (int)m_aPages[ m_nCurrentPage ].m_nPageObject,
+ (int)rEle.m_nFirstPageObject );
#endif
rEle.m_aKids.push_back( PDFStructureElementKid( nMCID, m_aPages[m_nCurrentPage].m_nPageObject ) );
// update the page's mcid parent list