[Libreoffice-commits] .: editeng/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Mar 13 05:58:58 PDT 2012
editeng/source/items/frmitems.cxx | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)
New commits:
commit ffc3c27130faec6c5337943975fa6ebf7623de36
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Mar 13 12:58:07 2012 +0000
Conditional jump or move depends on uninitialised value
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index f38ba5d..c2dbce8 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -792,28 +792,26 @@ bool SvxLRSpaceItem::HasMetrics() const
// class SvxULSpaceItem --------------------------------------------------
-SvxULSpaceItem::SvxULSpaceItem( const sal_uInt16 nId ) :
-
- SfxPoolItem( nId ),
-
- nUpper( 0 ),
- nLower( 0 ),
- nPropUpper( 100 ),
- nPropLower( 100 )
+SvxULSpaceItem::SvxULSpaceItem( const sal_uInt16 nId )
+ : SfxPoolItem(nId)
+ , nUpper(0)
+ , nLower(0)
+ , bContext(false)
+ , nPropUpper(100)
+ , nPropLower(100)
{
}
// -----------------------------------------------------------------------
SvxULSpaceItem::SvxULSpaceItem( const sal_uInt16 nUp, const sal_uInt16 nLow,
- const sal_uInt16 nId ) :
-
- SfxPoolItem( nId ),
-
- nUpper( nUp ),
- nLower( nLow ),
- nPropUpper( 100 ),
- nPropLower( 100 )
+ const sal_uInt16 nId )
+ : SfxPoolItem(nId)
+ , nUpper(nUp)
+ , nLower(nLow)
+ , bContext(false)
+ , nPropUpper(100)
+ , nPropLower(100)
{
}
More information about the Libreoffice-commits
mailing list