diff options
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/xmldlg_import.cxx')
-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 8104ac4495ab..0abf8453843a 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -1090,7 +1090,7 @@ bool ImportContext::importButtonTypeProperty( throw xml::sax::SAXException( "invalid button-type value!", Reference< XInterface >(), Any() ); } - _xControlModel->setPropertyValue( rPropName, makeAny( (sal_Int16)nButtonType ) ); + _xControlModel->setPropertyValue( rPropName, makeAny( static_cast<sal_Int16>(nButtonType) ) ); return true; } return false; |