diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:09:26 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:09:26 +0000 |
commit | 93df743b289dcef9738bd4b521b35a4ab6ec2a77 (patch) | |
tree | 8d119f36175d4daf1940e6844a91f29b4f5937f0 /svx/source | |
parent | db7dc246d9dbc63f3239a9ebf4b90b1c7ba5d379 (diff) |
INTEGRATION: CWS pj65 (1.10.50); FILE MERGED
2006/11/06 11:14:25 pjanik 1.10.50.1: #i71027#: Prevent warnings on Mac OS X.
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/items/algitem.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/items/algitem.cxx b/svx/source/items/algitem.cxx index 0bdfa9d02eca..2de59eb58306 100644 --- a/svx/source/items/algitem.cxx +++ b/svx/source/items/algitem.cxx @@ -4,9 +4,9 @@ * * $RCSfile: algitem.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: obo $ $Date: 2006-10-12 12:52:11 $ + * last change: $Author: vg $ $Date: 2006-11-21 17:09:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -196,7 +196,7 @@ sal_Bool SvxHorJustifyItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) table::CellHoriJustify eUno; if(!(rVal >>= eUno)) { - sal_Int32 nValue; + sal_Int32 nValue = 0; if(!(rVal >>= nValue)) return sal_False; eUno = (table::CellHoriJustify)nValue; @@ -322,7 +322,7 @@ sal_Bool SvxVerJustifyItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ ) table::CellVertJustify eUno; if(!(rVal >>= eUno)) { - sal_Int32 nValue; + sal_Int32 nValue = 0; if(!(rVal >>= nValue)) return sal_False; eUno = (table::CellVertJustify)nValue; @@ -431,7 +431,7 @@ sal_Bool SvxOrientationItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ table::CellOrientation eOrient; if(!(rVal >>= eOrient)) { - sal_Int32 nValue; + sal_Int32 nValue = 0; if(!(rVal >>= nValue)) return sal_False; eOrient = (table::CellOrientation)nValue; @@ -687,7 +687,7 @@ sal_Bool SvxMarginItem::PutValue( const uno::Any& rVal, BYTE nMemberId ) { sal_Bool bConvert = ( ( nMemberId & CONVERT_TWIPS ) != 0 ); long nMaxVal = bConvert ? TWIP_TO_MM100(SHRT_MAX) : SHRT_MAX; // Members sind sal_Int16 - sal_Int32 nVal; + sal_Int32 nVal = 0; if(!(rVal >>= nVal) || (nVal > nMaxVal)) return sal_False; |