summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-11-01 10:02:19 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-11-01 10:02:19 +0000
commit73880ae41bc68ef51b20d61c06a7945303d8f4f3 (patch)
treec3c653371266bb88f4cd2d338e6fa62bd48d633c /vcl
parent9b864ffd064431f66f475b67f499cf53298b6814 (diff)
INTEGRATION: CWS pdffix01_SRC680 (1.114.72); FILE MERGED
2007/10/13 08:26:07 hdu 1.114.72.1: #i81970# join from CWS vcl83 to fix regression in PDF text export for EuroSymbol/etc. for PDF base fonts
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index af6582a2e51c..11885df690fb 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: pdfwriter_impl.cxx,v $
*
- * $Revision: 1.114 $
+ * $Revision: 1.115 $
*
- * last change: $Author: hr $ $Date: 2007-08-02 15:00:04 $
+ * last change: $Author: hr $ $Date: 2007-11-01 11:02:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -5496,13 +5496,13 @@ void PDFWriterImpl::registerGlyphs( int nGlyphs,
}
pGlyphWidths[ i ] = 0;
- pMappedGlyphs[ i ] = (sal_Int8)pUnicodes[i];
+ pMappedGlyphs[ i ] = sal::static_int_cast<sal_Int8>( pGlyphs[i] );
pMappedFontObjects[ i ] = nFontID;
const ImplPdfBuiltinFontData* pFD = GetPdfFontData( pCurrentFont );
if( pFD )
{
const BuiltinFont* pBuiltinFont = pFD->GetBuiltinFont();
- pGlyphWidths[i] = pBuiltinFont->m_aWidths[ pUnicodes[i] & 0x00ff ];
+ pGlyphWidths[i] = pBuiltinFont->m_aWidths[ pGlyphs[i] & 0x00ff ];
}
}
else if( pCurrentFont->mbSubsettable )