diff options
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx index c7045c391210..34605f5010df 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx @@ -1596,8 +1596,7 @@ void ButtonElement::endElement() sal_Bool bChecked = false; if (getBoolAttr( &bChecked, "checked", _xAttributes, m_xImport->XMLNS_DIALOGS_UID ) && bChecked) { - sal_Int16 nVal = 1; - ctx.getControlModel()->setPropertyValue( "State" , makeAny( nVal ) ); + ctx.getControlModel()->setPropertyValue( "State" , makeAny( sal_Int16(1) ) ); } ctx.importEvents( _events ); |