From 6b996611a1a51e19f8d1d00da118cf7c57754522 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 21 Nov 2006 16:38:40 +0000 Subject: INTEGRATION: CWS pj65 (1.33.30); FILE MERGED 2006/10/31 14:04:18 pjanik 1.33.30.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1. --- xmloff/source/text/txtexppr.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xmloff/source') diff --git a/xmloff/source/text/txtexppr.cxx b/xmloff/source/text/txtexppr.cxx index 356b96230e9b..0ab7ee6ae1e8 100644 --- a/xmloff/source/text/txtexppr.cxx +++ b/xmloff/source/text/txtexppr.cxx @@ -4,9 +4,9 @@ * * $RCSfile: txtexppr.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: obo $ $Date: 2006-09-17 11:17:19 $ + * last change: $Author: vg $ $Date: 2006-11-21 17:38:40 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -302,7 +302,7 @@ void XMLTextExportPropertySetMapper::ContextFontHeightFilter( { if( pCharPropHeightState ) { - sal_Int32 nTemp; + sal_Int32 nTemp = 0; pCharPropHeightState->maValue >>= nTemp; if( nTemp == 100 ) { @@ -317,7 +317,7 @@ void XMLTextExportPropertySetMapper::ContextFontHeightFilter( } if( pCharDiffHeightState ) { - float nTemp; + float nTemp = 0; pCharDiffHeightState->maValue >>= nTemp; if( nTemp == 0. ) { @@ -759,7 +759,7 @@ void XMLTextExportPropertySetMapper::ContextFilter( { if( pLeftBorderDistanceState && pRightBorderDistanceState && pTopBorderDistanceState && pBottomBorderDistanceState ) { - sal_Int32 aLeft, aRight, aTop, aBottom; + sal_Int32 aLeft = 0, aRight = 0, aTop = 0, aBottom = 0; pLeftBorderDistanceState->maValue >>= aLeft; pRightBorderDistanceState->maValue >>= aRight; -- cgit