Kaydet (Commit) c333ab18 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#738877 Uninitialized scalar field

Change-Id: Ieec62701502ee18c3b19d9cc324059c2380184c0
üst 842ea9ee
......@@ -453,10 +453,11 @@ void SvxColorBox::ReleaseFocus_Impl()
//========================================================================
SvxMetricField::SvxMetricField(
Window* pParent, const Reference< XFrame >& rFrame, WinBits nBits ) :
MetricField( pParent, nBits ),
aCurTxt(),
mxFrame( rFrame )
Window* pParent, const Reference< XFrame >& rFrame, WinBits nBits )
: MetricField(pParent, nBits)
, aCurTxt()
, ePoolUnit(SFX_MAPUNIT_CM)
, mxFrame(rFrame)
{
Size aSize = Size(GetTextWidth( OUString("99,99mm") ),GetTextHeight());
aSize.Width() += 20;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment