More loplugin:cstylecast: vbahelper
Change-Id: I3d9d907dc675cf6d9d95539700ce9d443a9fda98
This commit is contained in:
@@ -231,7 +231,7 @@ VbaFontBase::setItalic( const uno::Any& aValue )
|
||||
awt::FontSlant nValue = awt::FontSlant_NONE;
|
||||
if( bValue )
|
||||
nValue = awt::FontSlant_ITALIC;
|
||||
mxFont->setPropertyValue( VBAFONTBASE_PROPNAME( "CharPosture", "FontSlant" ), uno::Any( (short)nValue ) );
|
||||
mxFont->setPropertyValue( VBAFONTBASE_PROPNAME( "CharPosture", "FontSlant" ), uno::Any( static_cast<short>(nValue) ) );
|
||||
}
|
||||
|
||||
uno::Any SAL_CALL
|
||||
|
Reference in New Issue
Block a user