summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/filter/html/htmlforw.cxx4
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();
}