summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-01-23 12:35:22 +0000
committerCaolán McNamara <cmc@openoffice.org>2010-01-23 12:35:22 +0000
commit27bf027a3d717954fcaaa79a2de112c98e26a768 (patch)
tree8879b73aaf5a6cc0322249b3fcc85aa69770e804
parent5c2d284b0f9973aada365a8f464f1152671bd629 (diff)
cmcfixes71: #i108597# fix uninit warnings
-rw-r--r--sd/source/filter/eppt/epptso.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 361970345430..0b6f8b99c7bb 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -1967,7 +1967,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool
{
if ( ImplGetPropertyValue( String( RTL_CONSTASCII_USTRINGPARAM( "CharWeight" ) ), bGetPropStateValue ) )
{
- float fFloat;
+ float fFloat(0.0);
mAny >>= fFloat;
if ( fFloat >= ::com::sun::star::awt::FontWeight::SEMIBOLD )
mnCharAttr |= 1;
@@ -1977,7 +1977,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool
{
if ( ImplGetPropertyValue( String( RTL_CONSTASCII_USTRINGPARAM( "CharWeightComplex" ) ), bGetPropStateValue ) )
{
- float fFloat;
+ float fFloat(0.0);
mAny >>= fFloat;
if ( fFloat >= ::com::sun::star::awt::FontWeight::SEMIBOLD )
mnCharAttr |= 1;
@@ -2027,7 +2027,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool
if ( ImplGetPropertyValue( String( RTL_CONSTASCII_USTRINGPARAM( "CharUnderline" ) ), bGetPropStateValue ) )
{
- sal_Int16 nVal;
+ sal_Int16 nVal(0);
mAny >>= nVal;
switch ( nVal )
{
@@ -2042,7 +2042,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool
if ( ImplGetPropertyValue( String( RTL_CONSTASCII_USTRINGPARAM( "CharShadowed" ) ), bGetPropStateValue ) )
{
- sal_Bool bBool;
+ sal_Bool bBool(sal_False);
mAny >>= bBool;
if ( bBool )
mnCharAttr |= 0x10;
@@ -2059,7 +2059,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool
if ( ImplGetPropertyValue( String( RTL_CONSTASCII_USTRINGPARAM( "CharRelief" ) ), bGetPropStateValue ) )
{
- sal_Int16 nVal;
+ sal_Int16 nVal(0);
mAny >>= nVal;
if ( nVal != ::com::sun::star::text::FontRelief::NONE )
mnCharAttr |= 512;
@@ -2070,7 +2070,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool
mnCharHeight = 24;
if ( ImplGetPropertyValue( String( RTL_CONSTASCII_USTRINGPARAM( "CharHeight" ) ), bGetPropStateValue ) )
{
- float fVal;
+ float fVal(0.0);
mAny >>= fVal;
mnCharHeight = (sal_uInt16)( fVal + 0.5 );
}