Kaydet (Commit) 2a2b9005 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

avoid initialise-then-reset

Directly construct as unitialised

Change-Id: I66aa4f5a5f5ed2c1d5bf0cb8083e1968ef776bf7
üst 87c50e75
......@@ -709,8 +709,7 @@ namespace frm
return;
}
::boost::optional< sal_Int16 > aBoundColumn(0);
aBoundColumn.reset();
::boost::optional< sal_Int16 > aBoundColumn(boost::none);
if ( m_aBoundColumn.getValueType().getTypeClass() == TypeClass_SHORT )
{
sal_Int16 nBoundColumn( 0 );
......
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