summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textcharacterproperties.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-01-17 13:23:40 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-01-17 13:23:40 +0000
commitcfcbc28aa40650053c98efa1b05cea74892da333 (patch)
tree8f7134de6127a64a9e92e09a8811691df915aed3 /oox/source/drawingml/textcharacterproperties.cxx
parent3381981e76873304b171f7df900561dac681d2af (diff)
#i85316# WaE fix
Diffstat (limited to 'oox/source/drawingml/textcharacterproperties.cxx')
-rw-r--r--oox/source/drawingml/textcharacterproperties.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/textcharacterproperties.cxx b/oox/source/drawingml/textcharacterproperties.cxx
index 999f1e6dccb4..a5c04470246a 100644
--- a/oox/source/drawingml/textcharacterproperties.cxx
+++ b/oox/source/drawingml/textcharacterproperties.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: textcharacterproperties.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2008-01-17 08:05:52 $
+ * last change: $Author: vg $ $Date: 2008-01-17 14:23:40 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -124,7 +124,7 @@ void TextCharacterProperties::pushToUrlFieldPropSet( const Reference < XProperty
float TextCharacterProperties::getCharacterSize( float fDefault ) const
{
const rtl::OUString sCharHeight( CREATE_OUSTRING( "CharHeight" ) );
- float fCharHeight;
+ float fCharHeight = 0;
const Any* pAny = maTextCharacterPropertyMap.getPropertyValue( sCharHeight );
if ( pAny && ( *pAny >>= fCharHeight ) )
return fCharHeight;