summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlbahdl.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:37:58 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:37:58 +0000
commitaba1a80cef2805d5bc630cf782776f299e8aa5a1 (patch)
tree2d686f83dca03e1a14335f2f760840c98b328dff /xmloff/source/style/xmlbahdl.cxx
parent4f3c778a8cde795622eb461cc9dddb9642605f7e (diff)
INTEGRATION: CWS pj65 (1.23.12); FILE MERGED
2006/10/31 14:03:56 pjanik 1.23.12.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'xmloff/source/style/xmlbahdl.cxx')
-rw-r--r--xmloff/source/style/xmlbahdl.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/style/xmlbahdl.cxx b/xmloff/source/style/xmlbahdl.cxx
index 78b79a6dbc25..2cedaa9e00b4 100644
--- a/xmloff/source/style/xmlbahdl.cxx
+++ b/xmloff/source/style/xmlbahdl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xmlbahdl.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 14:52:12 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:37:58 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -396,7 +396,7 @@ sal_Bool XMLDoublePercentPropHdl::importXML( const OUString& rStrImpValue, Any&
sal_Bool XMLDoublePercentPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConverter& ) const
{
sal_Bool bRet = sal_False;
- double fValue;
+ double fValue = 0;
if( rValue >>= fValue )
{
@@ -541,7 +541,7 @@ sal_Bool XMLColorPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue,
{
sal_Bool bRet = sal_False;
Color aColor;
- sal_Int32 nColor;
+ sal_Int32 nColor = 0;
OUStringBuffer aOut;
if( rValue >>= nColor )
@@ -650,7 +650,7 @@ sal_Bool XMLDoublePropHdl::exportXML( OUString& rStrExpValue, const Any& rValue,
{
sal_Bool bRet = sal_False;
- double fValue;
+ double fValue = 0;
if( rValue >>= fValue )
{
@@ -698,7 +698,7 @@ sal_Bool XMLColorTransparentPropHdl::importXML( const OUString& rStrImpValue, An
sal_Bool XMLColorTransparentPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConverter& ) const
{
sal_Bool bRet = sal_False;
- sal_Int32 nColor;
+ sal_Int32 nColor = 0;
if( rStrExpValue == sTransparent )
bRet = sal_False;
@@ -782,7 +782,7 @@ sal_Bool XMLColorAutoPropHdl::importXML( const OUString& rStrImpValue, Any& rVal
// This is a multi property: the value might be set to AUTO_COLOR
// already by the XMLIsAutoColorPropHdl!
- sal_Int32 nColor;
+ sal_Int32 nColor = 0;
if( !(rValue >>= nColor) || -1 != nColor )
{
Color aColor;
@@ -798,7 +798,7 @@ sal_Bool XMLColorAutoPropHdl::exportXML( OUString& rStrExpValue, const Any& rVal
{
sal_Bool bRet = sal_False;
- sal_Int32 nColor;
+ sal_Int32 nColor = 0;
if( (rValue >>= nColor) && -1 != nColor )
{
Color aColor( nColor );
@@ -841,7 +841,7 @@ sal_Bool XMLIsAutoColorPropHdl::importXML( const OUString& rStrImpValue, Any& rV
sal_Bool XMLIsAutoColorPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConverter& ) const
{
sal_Bool bRet = sal_False;
- sal_Int32 nColor;
+ sal_Int32 nColor = 0;
if( (rValue >>= nColor) && -1 == nColor )
{