[Libreoffice-commits] .: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Jan 19 00:35:04 PST 2013


 vcl/source/gdi/pdfwriter_impl.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 8a894b4af476641062bf340a2fb802558bf1cbe3
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Jan 19 09:28:51 2013 +0100

    Fix pUnicodes unused
    
    Change-Id: I168c84d6b64fe23c3e93e36aad31f1c74dfd547a

diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 4f02f29..cf20099 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -3190,17 +3190,14 @@ std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitSystemFont( const PhysicalFo
         osl_createTempFile( NULL, NULL, &aTmpName.pData );
         sal_Int32 pGlyphIDs[ 256 ];
         sal_uInt8 pEncoding[ 256 ];
-        sal_Ucs   pUnicodes[ 256 ];
         sal_Int32 pDuWidths[ 256 ];
 
         memset( pGlyphIDs, 0, sizeof( pGlyphIDs ) );
         memset( pEncoding, 0, sizeof( pEncoding ) );
-        memset( pUnicodes, 0, sizeof( pUnicodes ) );
         memset( pDuWidths, 0, sizeof( pDuWidths ) );
 
         for( sal_Ucs c = 32; c < 256; c++ )
         {
-            pUnicodes[c] = c;
             pEncoding[c] = c;
             pGlyphIDs[c] = 0;
             if( aUnicodeMap.find( c ) != aUnicodeMap.end() )


More information about the Libreoffice-commits mailing list