summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:37:46 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:37:46 +0000
commit4f3c778a8cde795622eb461cc9dddb9642605f7e (patch)
tree62fe8f7558409485458a5be74f2188c666009e91 /xmloff
parent5d54156584dca8608ee520cc1fa974be367d3dca (diff)
INTEGRATION: CWS pj65 (1.6.12); FILE MERGED
2006/11/06 10:11:45 pjanik 1.6.12.2: RESYNC: (1.6-1.7); FILE MERGED 2006/10/31 14:03:52 pjanik 1.6.12.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/weighhdl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/weighhdl.cxx b/xmloff/source/style/weighhdl.cxx
index e5588b6c3c30..09c700bdc096 100644
--- a/xmloff/source/style/weighhdl.cxx
+++ b/xmloff/source/style/weighhdl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: weighhdl.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: vg $ $Date: 2006-11-01 16:09:25 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:37:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -168,7 +168,7 @@ sal_Bool XMLFontWeightPropHdl::exportXML( OUString& rStrExpValue, const Any& rVa
float fValue = float();
if( !( rValue >>= fValue ) )
{
- sal_Int32 nValue;
+ sal_Int32 nValue = 0;
if( rValue >>= nValue )
{
fValue = (float)nValue;