diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:41:32 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:41:32 +0000 |
commit | 8d6983de5ba752f52d57911e795f6da89aa90038 (patch) | |
tree | 8b67a6e59d5c03520dd53cfb36272933682532eb /xmloff | |
parent | 7ab4c76e73e6ebabe1363f542d61c9bc5b91cbc2 (diff) |
INTEGRATION: CWS warningfixes02 (1.127.10); FILE MERGED
2006/06/30 12:00:25 sb 1.127.10.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index f2a11f683685..1113bd622569 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -4,9 +4,9 @@ * * $RCSfile: txtparae.cxx,v $ * - * $Revision: 1.127 $ + * $Revision: 1.128 $ * - * last change: $Author: hr $ $Date: 2006-06-19 18:50:27 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:41:32 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1686,7 +1686,7 @@ void XMLTextParagraphExport::exportParagraph( if( rPropSetHelper.hasProperty( NUMBERING_IS_NUMBER ) ) { - bool bIsNumber; + bool bIsNumber = false; if( xMultiPropSet.is() ) rPropSetHelper.getValue( NUMBERING_IS_NUMBER, xMultiPropSet ) >>= bIsNumber; @@ -2055,7 +2055,7 @@ sal_Int32 XMLTextParagraphExport::addTextFrameAttributes( // text:anchor-page-number if( TextContentAnchorType_AT_PAGE == eAnchor ) { - sal_Int16 nPage; + sal_Int16 nPage = 0; rPropSet->getPropertyValue( sAnchorPageNo ) >>= nPage; GetExport().GetMM100UnitConverter().convertNumber( sValue, (sal_Int32)nPage ); @@ -2516,7 +2516,7 @@ void XMLTextParagraphExport::_exportTextGraphic( addTextFrameAttributes( rPropSet, sal_False ); // svg:transform - sal_Int16 nVal; + sal_Int16 nVal = 0; rPropSet->getPropertyValue( sGraphicRotation ) >>= nVal; if( nVal != 0 ) { |