Kaydet (Commit) 3b2f10b4 authored tarafından Joren De Cuyper's avatar Joren De Cuyper Kaydeden (comit) Tomaž Vajngerl

FontName -> FontFamily error

Introduced in c67d6b2a
Thanks to Matteo Casalin.

Change-Id: Ibaa7956eb44cfe62bbaf73ff5656dc21a5793c6a
Reviewed-on: https://gerrit.libreoffice.org/10612Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
Tested-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
üst d971c66b
...@@ -1093,9 +1093,9 @@ Writer& OutHTML_DrawFrmFmtAsControl( Writer& rWrt, ...@@ -1093,9 +1093,9 @@ Writer& OutHTML_DrawFrmFmtAsControl( Writer& rWrt,
if( !bEdit || aFName != aFixedFont.GetName() ) if( !bEdit || aFName != aFixedFont.GetName() )
{ {
FontFamily eFamily = FAMILY_DONTKNOW; 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()) if( aTmp.getValueType() == ::cppu::UnoType<sal_Int16>::get())
eFamily = (FontFamily)*(sal_Int16*) aTmp.getValue(); eFamily = (FontFamily)*(sal_Int16*) aTmp.getValue();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment