diff options
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index 32edd32ea4cf..f5606ffe2d90 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -1092,7 +1092,7 @@ bool ImportContext::importButtonTypeProperty( throw xml::sax::SAXException( "invalid button-type value!", Reference< XInterface >(), Any() ); } - _xControlModel->setPropertyValue( rPropName, makeAny( nButtonType ) ); + _xControlModel->setPropertyValue( rPropName, makeAny( (sal_Int16)nButtonType ) ); return true; } return false; |