summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparae.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:39:06 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:39:06 +0000
commitbabae6c6375e631d18c9148b896260a1c728ebfd (patch)
treeb8295a9286185868b3b65dd5de9ddabcd9e781c2 /xmloff/source/text/txtparae.cxx
parent2538b85805ebba503f11ca646acb08ed4c1d6589 (diff)
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.
Diffstat (limited to 'xmloff/source/text/txtparae.cxx')
-rw-r--r--xmloff/source/text/txtparae.cxx8
1 files changed, 4 insertions, 4 deletions
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 )
{