summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mmconfigitem.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-11-12 15:31:07 +0000
committerRüdiger Timm <rt@openoffice.org>2007-11-12 15:31:07 +0000
commit571fb72606b3e467bc03a15680b4803dff983096 (patch)
treefb4dd12523cd810008d03e87199e6980636d6c8f /sw/source/ui/dbui/mmconfigitem.cxx
parentd24ca0ca7c496ea80b9f9a5d1f62090e44775996 (diff)
INTEGRATION: CWS pj86 (1.15.4); FILE MERGED
2007/09/28 21:45:28 pjanik 1.15.4.1: #i81574#: Initialize variable(s) to prevent warnings on Mac OS X with gcc-4.0.1.
Diffstat (limited to 'sw/source/ui/dbui/mmconfigitem.cxx')
-rw-r--r--sw/source/ui/dbui/mmconfigitem.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/mmconfigitem.cxx b/sw/source/ui/dbui/mmconfigitem.cxx
index 139d72b001f7..b7bdcb7ffb8e 100644
--- a/sw/source/ui/dbui/mmconfigitem.cxx
+++ b/sw/source/ui/dbui/mmconfigitem.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: mmconfigitem.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: hr $ $Date: 2007-09-27 11:33:23 $
+ * last change: $Author: rt $ $Date: 2007-11-12 16:31:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -340,7 +340,7 @@ SwMailMergeConfigItem_Impl::SwMailMergeConfigItem_Impl() :
case 25 :pValues[nProp] >>= aDBData.sCommand; break;
case 26 :
{
- short nTemp;
+ short nTemp = 0;
if(pValues[nProp] >>= nTemp)
aDBData.nCommandType = nTemp;
}
@@ -1189,7 +1189,7 @@ bool SwMailMergeConfigItem::IsRecordExcluded(sal_Int32 nRecord)
bool bRet = false;
if(nRecord > 0 && nRecord < m_aSelection.getLength())
{
- sal_Int32 nTemp;
+ sal_Int32 nTemp = 0;
m_aSelection[nRecord - 1] >>= nTemp;
bRet = nTemp < 1;
}