Commits

Anonymous committed 4260fea

#i10000# build fix

Comments (0)

Files changed (2)

sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx

 size_t PngHelper::startChunk( const char* pChunkName, OutputBuffer& o_rOutputBuf )
 {
     size_t nIndex = sal_uInt32( o_rOutputBuf.size() );
-    o_rOutputBuf.insert( o_rOutputBuf.end(), 4, 0 );
+    o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 );
     o_rOutputBuf.push_back( pChunkName[0] );
     o_rOutputBuf.push_back( pChunkName[1] );
     o_rOutputBuf.push_back( pChunkName[2] );

sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx

         static void append( sal_uInt32 i_nValue, OutputBuffer& o_rOutputBuf )
         {
             size_t nCur = o_rOutputBuf.size();
-            o_rOutputBuf.insert( o_rOutputBuf.end(), 4, 0 );
+            o_rOutputBuf.insert( o_rOutputBuf.end(), 4, (Output_t)0 );
             set( i_nValue, o_rOutputBuf, nCur );
         }