summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-11-16 15:52:40 +0100
committerDavid Tardon <dtardon@redhat.com>2013-11-16 15:54:25 +0100
commit5b652a24e3b3e03fc1380257711b9ed7b0ecc8c7 (patch)
treebc5e40b3924cf8b7d1d961da4562e84538cf2b94 /vcl
parentd83e581fb5074c575e942115b6930b00a81b21dd (diff)
fix build with --enable-eot
Change-Id: Ia4e5f3d5a47ff88e318d930261efdc90e08cde50
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/embeddedfontshelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/embeddedfontshelper.cxx b/vcl/source/gdi/embeddedfontshelper.cxx
index b69be4efe706..56611d2897b8 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