summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:01:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:01:26 +0100
commit1a19ee6eb28e53b7f338c9a9f031a6dcc324a48e (patch)
treed258a1d0cdf2e0d0c97e9c05ba3b844879cf50d1 /vbahelper
parent72e3c234104a17566c0354beacc6d182234f1e5f (diff)
More loplugin:cstylecast: vbahelper
Change-Id: I3d9d907dc675cf6d9d95539700ce9d443a9fda98
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbafontbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbafontbase.cxx b/vbahelper/source/vbahelper/vbafontbase.cxx
index 685c6652551b..d83d217be40b 100644
--- a/vbahelper/source/vbahelper/vbafontbase.cxx
+++ b/vbahelper/source/vbahelper/vbafontbase.cxx
@@ -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