diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-29 17:43:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-31 04:31:13 +0000 |
commit | 3187193a6142b4b1c974ae1e1de572fa74a3c8ee (patch) | |
tree | 6d9350492186d06a38703821336ba79cb72a8583 /vcl/source/gdi/metaact.cxx | |
parent | 0bc3af3c1f719f9758ac01ff0b526abea7af0490 (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 'vcl/source/gdi/metaact.cxx')
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index 2643b9bc14e5..4756804f96f6 100644 --- a/vcl/source/gdi/metaact.cxx +++ b/vcl/source/gdi/metaact.cxx @@ -1378,8 +1378,8 @@ MetaTextLineAction::MetaTextLineAction() : MetaAction ( MetaActionType::TEXTLINE ), mnWidth ( 0 ), meStrikeout ( STRIKEOUT_NONE ), - meUnderline ( UNDERLINE_NONE ), - meOverline ( UNDERLINE_NONE ) + meUnderline ( LINESTYLE_NONE ), + meOverline ( LINESTYLE_NONE ) {} MetaTextLineAction::~MetaTextLineAction() @@ -1387,8 +1387,8 @@ MetaTextLineAction::~MetaTextLineAction() MetaTextLineAction::MetaTextLineAction( const Point& rPos, long nWidth, FontStrikeout eStrikeout, - FontUnderline eUnderline, - FontUnderline eOverline ) : + FontLineStyle eUnderline, + FontLineStyle eOverline ) : MetaAction ( MetaActionType::TEXTLINE ), maPos ( rPos ), mnWidth ( nWidth ), @@ -1446,11 +1446,11 @@ void MetaTextLineAction::Read( SvStream& rIStm, ImplMetaReadData* ) meStrikeout = (FontStrikeout)nTempStrikeout; sal_uInt32 nTempUnderline(0); rIStm.ReadUInt32( nTempUnderline ); - meUnderline = (FontUnderline)nTempUnderline; + meUnderline = (FontLineStyle)nTempUnderline; if ( aCompat.GetVersion() >= 2 ) { sal_uInt32 nTempUnderline2(0); rIStm.ReadUInt32(nTempUnderline2); - meUnderline = (FontUnderline)nTempUnderline2; + meUnderline = (FontLineStyle)nTempUnderline2; } } |