summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/envimg.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-11-12 15:31:19 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-11-12 15:31:19 +0000
commit072be057c3f244d210242ffc92c001ad88fb376d (patch)
treeee5f78210df3ac1191b9d28b143719a2c1d51ca7 /sw/source/ui/envelp/envimg.cxx
parent571fb72606b3e467bc03a15680b4803dff983096 (diff)
INTEGRATION: CWS pj86 (1.12.4); FILE MERGED
2007/09/28 21:35:27 pjanik 1.12.4.1: #i81574#: Initialize variable(s) to prevent warnings on Mac OS X with gcc-4.0.1.
Diffstat (limited to 'sw/source/ui/envelp/envimg.cxx')
-rw-r--r--sw/source/ui/envelp/envimg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/envelp/envimg.cxx b/sw/source/ui/envelp/envimg.cxx
index ab59ff558ffb..3558f29e59a2 100644
--- a/sw/source/ui/envelp/envimg.cxx
+++ b/sw/source/ui/envelp/envimg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: envimg.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: hr $ $Date: 2007-09-27 11:42:03 $
+ * last change: $Author: rt $ $Date: 2007-11-12 16:31:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -270,7 +270,7 @@ SwEnvCfgItem::SwEnvCfgItem() :
break;
case 9:
{
- sal_Int32 nTemp;
+ sal_Int32 nTemp = 0;
pValues[nProp] >>= nTemp; aEnvItem.eAlign = (SwEnvAlign)nTemp; break;// "Print/Alignment",
}
case 10: aEnvItem.bPrintFromAbove = *(sal_Bool*)pValues[nProp].getValue(); break;// "Print/FromAbove",
@@ -396,7 +396,7 @@ BOOL SwEnvItem::PutValue(const Any& rVal, BYTE nMemberId)
case MID_ENV_HEIGHT : bRet = (rVal >>= lHeight); break;
case MID_ENV_ALIGN :
{
- sal_Int16 nTemp;
+ sal_Int16 nTemp = 0;
bRet = (rVal >>= nTemp);
if (bRet)
eAlign = SwEnvAlign(nTemp);