summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlforw.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-29 17:43:42 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-31 04:31:13 +0000
commit3187193a6142b4b1c974ae1e1de572fa74a3c8ee (patch)
tree6d9350492186d06a38703821336ba79cb72a8583 /sw/source/filter/html/htmlforw.cxx
parent0bc3af3c1f719f9758ac01ff0b526abea7af0490 (diff)
tools: rename FontUnderline to FontLineStyle
Change-Id: I4750ad8569a1003b2f8c29052f3e25003ee433ca Reviewed-on: https://gerrit.libreoffice.org/21892 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'sw/source/filter/html/htmlforw.cxx')
-rw-r--r--sw/source/filter/html/htmlforw.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/html/htmlforw.cxx b/sw/source/filter/html/htmlforw.cxx
index 7b61ea1fd094..591a0cebecfc 100644
--- a/sw/source/filter/html/htmlforw.cxx
+++ b/sw/source/filter/html/htmlforw.cxx
@@ -1113,15 +1113,15 @@ Writer& OutHTML_DrawFrameFormatAsControl( Writer& rWrt,
aItemSet.Put( SvxPostureItem( eItalic, RES_CHRATR_POSTURE ) );
}
}
- if( xPropSetInfo->hasPropertyByName( "FontUnderline" ) )
+ if( xPropSetInfo->hasPropertyByName( "FontLineStyle" ) )
{
- aTmp = xPropSet->getPropertyValue( "FontUnderline" );
+ aTmp = xPropSet->getPropertyValue( "FontLineStyle" );
if( aTmp.getValueType() == ::cppu::UnoType<sal_Int16>::get() )
{
- FontUnderline eUnderline =
- (FontUnderline)*static_cast<sal_Int16 const *>(aTmp.getValue());
- if( eUnderline != UNDERLINE_DONTKNOW &&
- eUnderline != UNDERLINE_NONE )
+ FontLineStyle eUnderline =
+ (FontLineStyle)*static_cast<sal_Int16 const *>(aTmp.getValue());
+ if( eUnderline != LINESTYLE_DONTKNOW &&
+ eUnderline != LINESTYLE_NONE )
aItemSet.Put( SvxUnderlineItem( eUnderline, RES_CHRATR_UNDERLINE ) );
}
}