[Libreoffice-commits] core.git: vcl/source
Chris Sherlock
chris.sherlock79 at gmail.com
Wed Jan 20 05:25:26 PST 2016
vcl/source/font/font.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fd9aef666fd561456ad88dc4783a46b9480cc80a
Author: Chris Sherlock <chris.sherlock79 at 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 <ci at libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79 at 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;
More information about the Libreoffice-commits
mailing list