summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-02-15 15:55:35 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-02-15 15:55:35 +0100
commit3ff4a8877d1e1a71865a8e5b4c1de625a4ee694f (patch)
treebe6d8e65178526853d6bd1a5cfa66cf165d4bf1f
parent4d712b9a9dc6413153f3345edbb84a9add4cd71a (diff)
parentc6e715eac6155e018042a24bdecddf9a95f1e3a3 (diff)
CWS-TOOLING: integrate CWS cmcfixes71
-rw-r--r--sd/source/filter/eppt/epptso.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index bae0a7131142..cf557bedbe9f 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -1995,7 +1995,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool
mnCharHeight = 24;
if ( GetPropertyValue( mAny, mXPropSet, aCharHeightName, sal_False ) )
{
- float fVal;
+ float fVal(0.0);
if ( mAny >>= fVal )
{
mnCharHeight = (sal_uInt16)( fVal + 0.5 );
@@ -2004,7 +2004,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool
}
if ( GetPropertyValue( mAny, mXPropSet, aCharWeightName, sal_False ) )
{
- float fFloat;
+ float fFloat(0.0);
if ( mAny >>= fFloat )
{
if ( fFloat >= ::com::sun::star::awt::FontWeight::SEMIBOLD )
@@ -2040,7 +2040,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 )
{
@@ -2055,7 +2055,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;
@@ -2065,7 +2065,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;