diff options
Diffstat (limited to 'xmlscript/source/xmldlg_imexp')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/exp_share.hxx | 10 | ||||
-rw-r--r-- | xmlscript/source/xmldlg_imexp/imp_share.hxx | 84 | ||||
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 4 | ||||
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 2 | ||||
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 12 |
5 files changed, 56 insertions, 56 deletions
diff --git a/xmlscript/source/xmldlg_imexp/exp_share.hxx b/xmlscript/source/xmldlg_imexp/exp_share.hxx index 89a4ee013173..2f15855b21d0 100644 --- a/xmlscript/source/xmldlg_imexp/exp_share.hxx +++ b/xmlscript/source/xmldlg_imexp/exp_share.hxx @@ -64,7 +64,7 @@ struct Style ::rtl::OUString _id; - inline Style( short all_ ) SAL_THROW( () ) + inline Style( short all_ ) SAL_THROW(()) : _fontRelief( css::awt::FontRelief::NONE ) , _fontEmphasisMark( css::awt::FontEmphasisMark::NONE ) , _all( all_ ) @@ -78,9 +78,9 @@ class StyleBag ::std::vector< Style * > _styles; public: - ~StyleBag() SAL_THROW( () ); + ~StyleBag() SAL_THROW(()); - ::rtl::OUString getStyleId( Style const & rStyle ) SAL_THROW( () ); + ::rtl::OUString getStyleId( Style const & rStyle ) SAL_THROW(()); void dump( css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > const & xOut ); @@ -98,7 +98,7 @@ public: css::uno::Reference< css::beans::XPropertySet > const & xProps, css::uno::Reference< css::beans::XPropertyState > const & xPropState, ::rtl::OUString const & name, css::uno::Reference< css::frame::XModel > const & xDocument ) - SAL_THROW( () ) + SAL_THROW(()) : XMLElement( name ) , _xProps( xProps ) , _xPropState( xPropState ) @@ -106,7 +106,7 @@ public: {} inline ElementDescriptor( ::rtl::OUString const & name ) - SAL_THROW( () ) + SAL_THROW(()) : XMLElement( name ) {} diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx index 5b9b9a5adfd9..b915a18d04ce 100644 --- a/xmlscript/source/xmldlg_imexp/imp_share.hxx +++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx @@ -52,7 +52,7 @@ namespace css = ::com::sun::star; namespace xmlscript { -inline sal_Int32 toInt32( ::rtl::OUString const & rStr ) SAL_THROW( () ) +inline sal_Int32 toInt32( ::rtl::OUString const & rStr ) SAL_THROW(()) { sal_Int32 nVal; if (rStr.getLength() > 2 && rStr[ 0 ] == '0' && rStr[ 1 ] == 'x') @@ -152,13 +152,13 @@ public: void addStyle( ::rtl::OUString const & rStyleId, css::uno::Reference< css::xml::input::XElement > const & xStyle ) - SAL_THROW( () ); + SAL_THROW(()); css::uno::Reference< css::xml::input::XElement > getStyle( ::rtl::OUString const & rStyleId ) const - SAL_THROW( () ); + SAL_THROW(()); inline css::uno::Reference< css::uno::XComponentContext > - const & getComponentContext() SAL_THROW( () ) { return _xContext; } + const & getComponentContext() SAL_THROW(()) { return _xContext; } css::uno::Reference< css::util::XNumberFormatsSupplier > const & getNumberFormatsSupplier(); @@ -169,7 +169,7 @@ public: ::boost::shared_ptr< ::std::vector< ::rtl::OUString > >& pStyleNames, ::boost::shared_ptr< ::std::vector< css::uno::Reference< css::xml::input::XElement > > >& pStyles, css::uno::Reference<css::frame::XModel> const & xDoc ) - SAL_THROW( () ) + SAL_THROW(()) : _xContext( xContext ) , _pStyleNames( pStyleNames ) , _pStyles( pStyles ) @@ -189,7 +189,7 @@ public: , XMLNS_SCRIPT_UID( rOther.XMLNS_SCRIPT_UID ) {} virtual ~DialogImport() - SAL_THROW( () ); + SAL_THROW(()); inline css::uno::Reference< css::frame::XModel > getDocOwner() { return _xDoc; } @@ -230,9 +230,9 @@ public: sal_Int32 nUid, ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ); + SAL_THROW(()); virtual ~ElementBase() - SAL_THROW( () ); + SAL_THROW(()); // XElement virtual css::uno::Reference<css::xml::input::XElement> SAL_CALL getParent() @@ -275,7 +275,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ElementBase( pImport->XMLNS_DIALOGS_UID, rLocalName, xAttributes, pParent, pImport ) {} @@ -330,7 +330,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ElementBase( pImport->XMLNS_DIALOGS_UID, rLocalName, xAttributes, pParent, pImport ) , _fontRelief( css::awt::FontRelief::NONE ) @@ -360,7 +360,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ElementBase( pImport->XMLNS_DIALOGS_UID, rLocalName, xAttributes, pParent, pImport ) {} @@ -386,13 +386,13 @@ protected: css::uno::Reference<css::xml::input::XAttributes> const & xAttributes ); public: ::std::vector<css::uno::Reference< css::xml::input::XElement> > *getEvents() - SAL_THROW( () ) { return &_events; } + SAL_THROW(()) { return &_events; } ControlElement( ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ); + SAL_THROW(()); }; //============================================================================== @@ -530,7 +530,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -547,7 +547,7 @@ public: sal_Int32 nUid, ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ElementBase( nUid, rLocalName, xAttributes, pParent, pImport ) {} }; @@ -567,7 +567,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ); + SAL_THROW(()); }; //============================================================================== @@ -587,7 +587,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -609,7 +609,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -632,7 +632,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -655,7 +655,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -675,7 +675,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -698,7 +698,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -722,7 +722,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : BulletinBoardElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -744,7 +744,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -765,7 +765,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -786,7 +786,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -808,7 +808,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -830,7 +830,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -852,7 +852,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -874,7 +874,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -896,7 +896,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -918,7 +918,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -940,7 +940,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -962,7 +962,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -984,7 +984,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -1006,7 +1006,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -1028,7 +1028,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -1051,7 +1051,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -1073,7 +1073,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) { m_xContainer.set( _pImport->_xDialogModelFactory->createInstance( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.UnoMultiPageModel") ) ), css::uno::UNO_QUERY ); @@ -1100,7 +1100,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} private: @@ -1124,7 +1124,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) { m_xContainer.set( _pImport->_xDialogModelFactory->createInstance( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.UnoPageModel") ) ), css::uno::UNO_QUERY ); @@ -1150,7 +1150,7 @@ public: ::rtl::OUString const & rLocalName, css::uno::Reference< css::xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) {} }; diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx index 2084860bbc58..ece2ca87a585 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx @@ -1336,7 +1336,7 @@ inline bool equalFont( Style const & style1, Style const & style2 ) } //__________________________________________________________________________________________________ OUString StyleBag::getStyleId( Style const & rStyle ) - SAL_THROW( () ) + SAL_THROW(()) { if (! rStyle._set) // nothin set { @@ -1414,7 +1414,7 @@ OUString StyleBag::getStyleId( Style const & rStyle ) return pStyle->_id; } //__________________________________________________________________________________________________ -StyleBag::~StyleBag() SAL_THROW( () ) +StyleBag::~StyleBag() SAL_THROW(()) { for ( size_t nPos = 0; nPos < _styles.size(); ++nPos ) { diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx index c59d630e46bc..ced4c0db9d3f 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx @@ -2407,7 +2407,7 @@ BulletinBoardElement::BulletinBoardElement( OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ControlElement( rLocalName, xAttributes, pParent, pImport ) { OUString aValue( diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index e0134088e7f1..37ef3ca2da00 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -89,7 +89,7 @@ ControlElement::ControlElement( OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : ElementBase( pImport->XMLNS_DIALOGS_UID, rLocalName, xAttributes, pParent, pImport ) { @@ -1880,7 +1880,7 @@ ElementBase::ElementBase( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes, ElementBase * pParent, DialogImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : _pImport( pImport ) , _pParent( pParent ) , _nUid( nUid ) @@ -1896,7 +1896,7 @@ ElementBase::ElementBase( } //__________________________________________________________________________________________________ ElementBase::~ElementBase() - SAL_THROW( () ) + SAL_THROW(()) { _pImport->release(); @@ -1974,7 +1974,7 @@ Reference< xml::input::XElement > DialogImport::startRootElement( } //__________________________________________________________________________________________________ DialogImport::~DialogImport() - SAL_THROW( () ) + SAL_THROW(()) { #if OSL_DEBUG_LEVEL > 1 OSL_TRACE( "DialogImport::~DialogImport()." ); @@ -2005,7 +2005,7 @@ Reference< util::XNumberFormatsSupplier > const & DialogImport::getNumberFormats void DialogImport::addStyle( OUString const & rStyleId, Reference< xml::input::XElement > const & xStyle ) - SAL_THROW( () ) + SAL_THROW(()) { (*_pStyleNames).push_back( rStyleId ); (*_pStyles).push_back( xStyle ); @@ -2013,7 +2013,7 @@ void DialogImport::addStyle( //__________________________________________________________________________________________________ Reference< xml::input::XElement > DialogImport::getStyle( OUString const & rStyleId ) const - SAL_THROW( () ) + SAL_THROW(()) { for ( size_t nPos = 0; nPos < (*_pStyleNames).size(); ++nPos ) { |