diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-18 10:40:22 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-18 05:24:46 +0000 |
commit | cb20f46895f0ec759f2bea95e499c6902deb60ca (patch) | |
tree | e7790f7df9436a29ba8309d0ad99d518fb34d9ad /editeng/source/items/bulitem.cxx | |
parent | 3b14cdf7386f41395d1b089c3b9dde7d4429cf38 (diff) |
vcl: change Font::SetName() to Font::SetFamilyName()
Change-Id: I9b7bd1ec25955981ebcb9085579cbb9fbaa802d5
Reviewed-on: https://gerrit.libreoffice.org/21560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'editeng/source/items/bulitem.cxx')
-rw-r--r-- | editeng/source/items/bulitem.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx index 96264b678f18..199c50cfd002 100644 --- a/editeng/source/items/bulitem.cxx +++ b/editeng/source/items/bulitem.cxx @@ -79,9 +79,9 @@ vcl::Font SvxBulletItem::CreateFont( SvStream& rStream, sal_uInt16 nVer ) rStream.ReadUInt16( nTemp ); aFont.SetStrikeout((FontStrikeout)nTemp); rStream.ReadUInt16( nTemp ); aFont.SetItalic((FontItalic)nTemp); - // UNICODE: rStream >> aName; aFont.SetName( aName ); + // UNICODE: rStream >> aName; aFont.SetFamilyName( aName ); OUString aName = rStream.ReadUniOrByteString(rStream.GetStreamCharSet()); - aFont.SetName( aName ); + aFont.SetFamilyName( aName ); if( nVer == 1 ) { @@ -231,7 +231,7 @@ void SvxBulletItem::CopyValidProperties( const SvxBulletItem& rCopyFrom ) { vcl::Font _aFont = GetFont(); vcl::Font aNewFont = rCopyFrom.GetFont(); - _aFont.SetName( aNewFont.GetFamilyName() ); + _aFont.SetFamilyName( aNewFont.GetFamilyName() ); _aFont.SetFamily( aNewFont.GetFamily() ); _aFont.SetStyleName( aNewFont.GetStyleName() ); _aFont.SetColor( aNewFont.GetColor() ); |