diff options
author | Joren De Cuyper <jorendc@libreoffice.org> | 2014-07-29 17:05:26 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2014-07-29 21:30:14 +0000 |
commit | 3b2f10b4ee53f1a6a1f5c9d18a0437b46187f50e (patch) | |
tree | 9e55b258aff47f399901469478a9a863e46b76a4 | |
parent | d971c66bac623f2c5a1c777bb198d29ebd33dbec (diff) |
FontName -> FontFamily error
Introduced in c67d6b2a57f6e95395515fe695709590af109397
Thanks to Matteo Casalin.
Change-Id: Ibaa7956eb44cfe62bbaf73ff5656dc21a5793c6a
Reviewed-on: https://gerrit.libreoffice.org/10612
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r-- | sw/source/filter/html/htmlforw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlforw.cxx b/sw/source/filter/html/htmlforw.cxx index f34e3512dc46..f478cf719e36 100644 --- a/sw/source/filter/html/htmlforw.cxx +++ b/sw/source/filter/html/htmlforw.cxx @@ -1093,9 +1093,9 @@ Writer& OutHTML_DrawFrmFmtAsControl( Writer& rWrt, if( !bEdit || aFName != aFixedFont.GetName() ) { FontFamily eFamily = FAMILY_DONTKNOW; - if( xPropSetInfo->hasPropertyByName( "FontName" ) ) + if( xPropSetInfo->hasPropertyByName( "FontFamily" ) ) { - aTmp = xPropSet->getPropertyValue( "FontName" ); + aTmp = xPropSet->getPropertyValue( "FontFamily" ); if( aTmp.getValueType() == ::cppu::UnoType<sal_Int16>::get()) eFamily = (FontFamily)*(sal_Int16*) aTmp.getValue(); } |