vcl/source/font/font.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fd9aef666fd561456ad88dc4783a46b9480cc80a Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Wed Jan 20 21:15:06 2016 +1100 vcl: gave ReadImplFont use ImplFont::SetFamilyType() Change-Id: Iafbb33e0162f6e53e96bbde3b6275dfb25090dd5 Reviewed-on: https://gerrit.libreoffice.org/21623 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherloc...@gmail.com> diff --git a/vcl/source/font/font.cxx b/vcl/source/font/font.cxx index c2e676b..e24eb8a 100644 --- a/vcl/source/font/font.cxx +++ b/vcl/source/font/font.cxx @@ -481,7 +481,7 @@ SvStream& ReadImplFont( SvStream& rIStm, ImplFont& rImplFont ) ReadPair( rIStm, rImplFont.maSize ); rIStm.ReadUInt16( nTmp16 ); rImplFont.SetCharSet( (rtl_TextEncoding) nTmp16 ); - rIStm.ReadUInt16( nTmp16 ); rImplFont.meFamily = (FontFamily) nTmp16; + rIStm.ReadUInt16( nTmp16 ); rImplFont.SetFamilyType( (FontFamily) nTmp16 ); rIStm.ReadUInt16( nTmp16 ); rImplFont.SetPitch( (FontPitch) nTmp16 ); rIStm.ReadUInt16( nTmp16 ); rImplFont.SetWeight( (FontWeight) nTmp16 ); rIStm.ReadUInt16( nTmp16 ); rImplFont.meUnderline = (FontUnderline) nTmp16; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits