diff options
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx index 79d327eb3ea0..f37993e2bd91 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx @@ -44,7 +44,6 @@ namespace xmlscript Reference< xml::input::XElement > Frame::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { if ( !m_xContainer.is() ) m_xContainer.set( m_xImport->_xDialogModelFactory->createInstance( "com.sun.star.awt.UnoFrameModel" ), UNO_QUERY ); @@ -74,7 +73,6 @@ Reference< xml::input::XElement > Frame::startChildElement( } void Frame::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { if ( !m_xContainer.is() ) m_xContainer.set( m_xImport->_xDialogModelFactory->createInstance( "com.sun.star.awt.UnoFrameModel" ), UNO_QUERY ); @@ -110,7 +108,6 @@ void Frame::endElement() Reference< xml::input::XElement > MultiPage::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -134,7 +131,6 @@ Reference< xml::input::XElement > MultiPage::startChildElement( } void MultiPage::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { Reference< beans::XPropertySet > xProps( m_xContainer, UNO_QUERY_THROW ); // m_xImport is what we need to add to ( e.g. the dialog in this case ) @@ -166,7 +162,6 @@ void MultiPage::endElement() Reference< xml::input::XElement > Page::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -189,7 +184,6 @@ Reference< xml::input::XElement > Page::startChildElement( } void Page::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { Reference< beans::XPropertySet > xProps( m_xContainer, UNO_QUERY_THROW ); @@ -221,7 +215,6 @@ void Page::endElement() Reference< xml::input::XElement > ProgressBarElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -237,7 +230,6 @@ Reference< xml::input::XElement > ProgressBarElement::startChildElement( } } void ProgressBarElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlProgressBarModel" ); @@ -267,7 +259,6 @@ void ProgressBarElement::endElement() Reference< xml::input::XElement > ScrollBarElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -280,7 +271,6 @@ Reference< xml::input::XElement > ScrollBarElement::startChildElement( } } void ScrollBarElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), getControlModelName( "com.sun.star.awt.UnoControlScrollBarModel" , _xAttributes ) ); @@ -319,7 +309,6 @@ void ScrollBarElement::endElement() Reference< xml::input::XElement > SpinButtonElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -333,7 +322,6 @@ Reference< xml::input::XElement > SpinButtonElement::startChildElement( } void SpinButtonElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), getControlModelName( "com.sun.star.awt.UnoControlSpinButtonModel", _xAttributes ) ); @@ -369,7 +357,6 @@ void SpinButtonElement::endElement() Reference< xml::input::XElement > FixedLineElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -382,7 +369,6 @@ Reference< xml::input::XElement > FixedLineElement::startChildElement( } } void FixedLineElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx(m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlFixedLineModel" ); @@ -411,7 +397,6 @@ void FixedLineElement::endElement() Reference< xml::input::XElement > PatternFieldElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -424,7 +409,6 @@ Reference< xml::input::XElement > PatternFieldElement::startChildElement( } } void PatternFieldElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlPatternFieldModel" ); @@ -461,7 +445,6 @@ void PatternFieldElement::endElement() Reference< xml::input::XElement > FormattedFieldElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -475,7 +458,6 @@ Reference< xml::input::XElement > FormattedFieldElement::startChildElement( } void FormattedFieldElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlFormattedFieldModel" ); @@ -591,7 +573,6 @@ void FormattedFieldElement::endElement() Reference< xml::input::XElement > TimeFieldElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -604,7 +585,6 @@ Reference< xml::input::XElement > TimeFieldElement::startChildElement( } } void TimeFieldElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlTimeFieldModel" ); @@ -647,7 +627,6 @@ void TimeFieldElement::endElement() Reference< xml::input::XElement > NumericFieldElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -660,7 +639,6 @@ Reference< xml::input::XElement > NumericFieldElement::startChildElement( } } void NumericFieldElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlNumericFieldModel" ); @@ -705,7 +683,6 @@ void NumericFieldElement::endElement() Reference< xml::input::XElement > DateFieldElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -718,7 +695,6 @@ Reference< xml::input::XElement > DateFieldElement::startChildElement( } } void DateFieldElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlDateFieldModel" ); @@ -762,7 +738,6 @@ void DateFieldElement::endElement() Reference< xml::input::XElement > CurrencyFieldElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -775,7 +750,6 @@ Reference< xml::input::XElement > CurrencyFieldElement::startChildElement( } } void CurrencyFieldElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlCurrencyFieldModel" ); @@ -820,7 +794,6 @@ void CurrencyFieldElement::endElement() Reference< xml::input::XElement > FileControlElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -833,7 +806,6 @@ Reference< xml::input::XElement > FileControlElement::startChildElement( } } void FileControlElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlFileControlModel" ); @@ -866,7 +838,6 @@ void FileControlElement::endElement() Reference< xml::input::XElement > TreeControlElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -879,7 +850,6 @@ Reference< xml::input::XElement > TreeControlElement::startChildElement( } } void TreeControlElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.tree.TreeControlModel" ); @@ -914,7 +884,6 @@ void TreeControlElement::endElement() Reference< xml::input::XElement > ImageControlElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -928,7 +897,6 @@ Reference< xml::input::XElement > ImageControlElement::startChildElement( } void ImageControlElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlImageControlModel" ); @@ -958,7 +926,6 @@ void ImageControlElement::endElement() Reference< xml::input::XElement > TextElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -972,7 +939,6 @@ Reference< xml::input::XElement > TextElement::startChildElement( } void TextElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlFixedTextModel" ); @@ -1007,7 +973,6 @@ void TextElement::endElement() Reference< xml::input::XElement > FixedHyperLinkElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -1020,7 +985,6 @@ Reference< xml::input::XElement > FixedHyperLinkElement::startChildElement( } } void FixedHyperLinkElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlFixedHyperlinkModel" ); @@ -1058,7 +1022,6 @@ void FixedHyperLinkElement::endElement() Reference< xml::input::XElement > TextFieldElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -1071,7 +1034,6 @@ Reference< xml::input::XElement > TextFieldElement::startChildElement( } } void TextFieldElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlEditModel" ); Reference< beans::XPropertySet > xControlModel( ctx.getControlModel() ); @@ -1124,7 +1086,6 @@ void TextFieldElement::endElement() Reference< xml::input::XElement > TitledBoxElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -1159,7 +1120,6 @@ Reference< xml::input::XElement > TitledBoxElement::startChildElement( } void TitledBoxElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { { ControlImportContext ctx(m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlGroupBoxModel" ); @@ -1244,7 +1204,6 @@ void TitledBoxElement::endElement() Reference< xml::input::XElement > RadioElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -1261,7 +1220,6 @@ Reference< xml::input::XElement > RadioElement::startChildElement( Reference< xml::input::XElement > RadioGroupElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { if (m_xImport->XMLNS_DIALOGS_UID != nUid) { @@ -1283,7 +1241,6 @@ Reference< xml::input::XElement > RadioGroupElement::startChildElement( } } void RadioGroupElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { for (Reference<XElement>& xRadio : _radios) { @@ -1341,7 +1298,6 @@ void RadioGroupElement::endElement() Reference< xml::input::XElement > MenuPopupElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { if (m_xImport->XMLNS_DIALOGS_UID != nUid) { @@ -1394,7 +1350,6 @@ Sequence< sal_Int16 > MenuPopupElement::getSelectedItems() Reference< xml::input::XElement > MenuListElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -1418,7 +1373,6 @@ Reference< xml::input::XElement > MenuListElement::startChildElement( } void MenuListElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), getControlModelName( "com.sun.star.awt.UnoControlListBoxModel", _xAttributes ) ); Reference< beans::XPropertySet > xControlModel( ctx.getControlModel() ); @@ -1464,7 +1418,6 @@ void MenuListElement::endElement() Reference< xml::input::XElement > ComboBoxElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -1487,7 +1440,6 @@ Reference< xml::input::XElement > ComboBoxElement::startChildElement( } } void ComboBoxElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), getControlModelName( "com.sun.star.awt.UnoControlComboBoxModel", _xAttributes ) ); Reference< beans::XPropertySet > xControlModel( ctx.getControlModel() ); @@ -1533,7 +1485,6 @@ void ComboBoxElement::endElement() Reference< xml::input::XElement > CheckBoxElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -1546,7 +1497,6 @@ Reference< xml::input::XElement > CheckBoxElement::startChildElement( } } void CheckBoxElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlCheckBoxModel" ); Reference< beans::XPropertySet > xControlModel( ctx.getControlModel() ); @@ -1601,7 +1551,6 @@ void CheckBoxElement::endElement() Reference< xml::input::XElement > ButtonElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -1615,7 +1564,6 @@ Reference< xml::input::XElement > ButtonElement::startChildElement( } void ButtonElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { ControlImportContext ctx( m_xImport.get(), getControlId( _xAttributes ), "com.sun.star.awt.UnoControlButtonModel" ); @@ -1667,7 +1615,6 @@ void ButtonElement::endElement() Reference< xml::input::XElement > BulletinBoardElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { if (m_xImport->XMLNS_DIALOGS_UID != nUid) { @@ -1827,13 +1774,11 @@ BulletinBoardElement::BulletinBoardElement( Reference< xml::input::XElement > StyleElement::startChildElement( sal_Int32 /*nUid*/, OUString const & /*rLocalName*/, Reference< xml::input::XAttributes > const & /*xAttributes*/ ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { throw xml::sax::SAXException( "unexpected sub elements of style!", Reference< XInterface >(), Any() ); } void StyleElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { Reference< xml::input::XAttributes > xStyle; OUString aStyleId( _xAttributes->getValueByUidName( m_xImport->XMLNS_DIALOGS_UID, "style-id" ) ); @@ -1851,7 +1796,6 @@ void StyleElement::endElement() Reference< xml::input::XElement > StylesElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { if (m_xImport->XMLNS_DIALOGS_UID != nUid) { @@ -1872,7 +1816,6 @@ Reference< xml::input::XElement > StylesElement::startChildElement( Reference< xml::input::XElement > WindowElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException, std::exception) { // event if (m_xImport->isEventElement( nUid, rLocalName )) @@ -1900,7 +1843,6 @@ Reference< xml::input::XElement > WindowElement::startChildElement( } void WindowElement::endElement() - throw (xml::sax::SAXException, RuntimeException, std::exception) { Reference< beans::XPropertySet > xProps( m_xImport->_xDialogModel, UNO_QUERY_THROW ); |