summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:38:40 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:38:40 +0000
commit6b996611a1a51e19f8d1d00da118cf7c57754522 (patch)
tree4dd5c656fc0ddb59706deb88029cfb79bf3394ff /xmloff/source
parent63d3dad39dfd91fa5aa86565de237cc2290bd165 (diff)
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.
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/txtexppr.cxx10
1 files changed, 5 insertions, 5 deletions
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;