From babae6c6375e631d18c9148b896260a1c728ebfd Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 21 Nov 2006 16:39:06 +0000 Subject: INTEGRATION: CWS pj65 (1.131.12); FILE MERGED 2006/10/31 14:04:27 pjanik 1.131.12.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1. --- xmloff/source/text/txtparae.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xmloff/source/text/txtparae.cxx') diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 22f584724ecd..34c8fd025736 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -4,9 +4,9 @@ * * $RCSfile: txtparae.cxx,v $ * - * $Revision: 1.131 $ + * $Revision: 1.132 $ * - * last change: $Author: obo $ $Date: 2006-10-13 12:16:56 $ + * last change: $Author: vg $ $Date: 2006-11-21 17:39:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1735,7 +1735,7 @@ void XMLTextParagraphExport::exportParagraph( ("NumberingStartValue")); - sal_Int32 nStartValue; + sal_Int32 nStartValue = 0; if (xPropSetInfo-> hasPropertyByName(sNumberingStartValue)) @@ -2212,7 +2212,7 @@ sal_Int32 XMLTextParagraphExport::addTextFrameAttributes( OUString sZOrder( RTL_CONSTASCII_USTRINGPARAM( "ZOrder" ) ); if( xPropSetInfo->hasPropertyByName( sZOrder ) ) { - sal_Int32 nZIndex; + sal_Int32 nZIndex = 0; rPropSet->getPropertyValue( sZOrder ) >>= nZIndex; if( -1 != nZIndex ) { -- cgit