diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-04 21:28:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-05 21:10:25 +0100 |
commit | a7a891d591f6977c04136a0b4ccde0b87a89237f (patch) | |
tree | 6cfd23b0b786331a94feee7d29bb24622c80909d /sw | |
parent | 63f00d37a20169743d9709977b382c379560ef9e (diff) |
sal_uInt16 matches UniString sal_Unicode ctor, not FontFamily enum
i.e. totally the wrong thing entire
Change-Id: I24c6f7ca625affe808f865b8962cb690ce1c8755
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/config/uinums.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/config/uinums.cxx b/sw/source/ui/config/uinums.cxx index 763327e362ce..d3a736e3e248 100644 --- a/sw/source/ui/config/uinums.cxx +++ b/sw/source/ui/config/uinums.cxx @@ -387,7 +387,7 @@ SwNumRulesWithName::_SwNumFmtGlobal::_SwNumFmtGlobal( SvStream& rStream, if( aName.Len() ) { - Font aFont( nFamily, Size( nWidth, nHeight ) ); + Font aFont( static_cast<FontFamily>(nFamily), Size( nWidth, nHeight ) ); aFont.SetName( aName ); aFont.SetCharSet( (CharSet)nCharSet ); aFont.SetPitch( (FontPitch)nPitch ); |