summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:10:50 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:10:50 +0000
commit668a476432e8f5c5d55cfdaa1eab7e9da29c2b7b (patch)
tree6eae9c0fb7bbde41511c255f853165180469ac3a /svx/source
parent32c13c738603cc2d14aba0926a263e8685a473a2 (diff)
INTEGRATION: CWS pj65 (1.34.50); FILE MERGED
2006/11/06 11:14:26 pjanik 1.34.50.1: #i71027#: Prevent warnings on Mac OS X.
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/items/paraitem.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/items/paraitem.cxx b/svx/source/items/paraitem.cxx
index 99d393821354..bb9db7f2efe1 100644
--- a/svx/source/items/paraitem.cxx
+++ b/svx/source/items/paraitem.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: paraitem.cxx,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 12:55:21 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:10:50 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1105,7 +1105,7 @@ sal_Bool SvxTabStopItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
if (!(rAnySeq[0] >>= aSeq[n].Position)) return sal_False;
if (!(rAnySeq[1] >>= aSeq[n].Alignment))
{
- sal_Int32 nVal;
+ sal_Int32 nVal = 0;
if (rAnySeq[1] >>= nVal)
aSeq[n].Alignment = (com::sun::star::style::TabAlign) nVal;
else
@@ -1159,7 +1159,7 @@ sal_Bool SvxTabStopItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
}
case MID_STD_TAB:
{
- sal_Int32 nNewPos;
+ sal_Int32 nNewPos = 0;
if (!(rVal >>= nNewPos) )
return sal_False;
const SvxTabStop& rTab = *(GetStart());