[Libreoffice-commits] core.git: vcl/source
David Tardon
dtardon at redhat.com
Sat Nov 16 06:55:05 PST 2013
vcl/source/gdi/embeddedfontshelper.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5b652a24e3b3e03fc1380257711b9ed7b0ecc8c7
Author: David Tardon <dtardon at redhat.com>
Date: Sat Nov 16 15:52:40 2013 +0100
fix build with --enable-eot
Change-Id: Ia4e5f3d5a47ff88e318d930261efdc90e08cde50
diff --git a/vcl/source/gdi/embeddedfontshelper.cxx b/vcl/source/gdi/embeddedfontshelper.cxx
index b69be4e..56611d2 100644
--- a/vcl/source/gdi/embeddedfontshelper.cxx
+++ b/vcl/source/gdi/embeddedfontshelper.cxx
@@ -114,7 +114,7 @@ bool EmbeddedFontsHelper::addEmbeddedFont( uno::Reference< io::XInputStream > st
unsigned char *nakedPointerToUncompressedFont = NULL;
libeot::EOTMetadata eotMetadata;
libeot::EOTError uncompressError =
- libeot::eot2ttf_buffer( (const unsigned char *)&fontData[0], fontData.size(), &eotMetadata, &nakedPointerToUncompressedFont, &uncompressedFontSize ):
+ libeot::eot2ttf_buffer( (const unsigned char *)&fontData[0], fontData.size(), &eotMetadata, &nakedPointerToUncompressedFont, &uncompressedFontSize );
boost::shared_ptr<unsigned char> uncompressedFont( nakedPointerToUncompressedFont, libeot::freeEOTBuffer );
if( uncompressError != libeot::EOT_SUCCESS )
{
@@ -134,7 +134,7 @@ bool EmbeddedFontsHelper::addEmbeddedFont( uno::Reference< io::XInputStream > st
}
writtenTotal += written;
}
- sufficientFontRights = libeot::canLegallyEdit( eotMetadata );
+ sufficientFontRights = libeot::canLegallyEdit( &eotMetadata );
libeot::EOTfreeMetadata( &eotMetadata );
}
#endif
More information about the Libreoffice-commits
mailing list