diff options
author | Alexander Bergmann <myaddons@gmx.de> | 2012-01-26 16:00:09 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-26 17:41:07 +0000 |
commit | 0439af27e1f37b19d4409f34f974d6ade49f99bf (patch) | |
tree | 13bbb2549319d74a1a109bf2727aab37dca5b8c7 /xmlscript/source | |
parent | f1cb0a4ab4f11dc015be1696c7c7751802171915 (diff) |
Code cleanup: ( () ) replaced by (())
Diffstat (limited to 'xmlscript/source')
-rw-r--r-- | xmlscript/source/inc/xml_import.hxx | 2 | ||||
-rw-r--r-- | xmlscript/source/xml_helper/xml_byteseq.cxx | 8 | ||||
-rw-r--r-- | xmlscript/source/xml_helper/xml_element.cxx | 6 | ||||
-rw-r--r-- | xmlscript/source/xml_helper/xml_impctx.cxx | 4 | ||||
-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 | ||||
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_export.cxx | 4 | ||||
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_import.cxx | 4 | ||||
-rw-r--r-- | xmlscript/source/xmllib_imexp/imp_share.hxx | 16 | ||||
-rw-r--r-- | xmlscript/source/xmllib_imexp/xmllib_import.cxx | 6 | ||||
-rw-r--r-- | xmlscript/source/xmlmod_imexp/imp_share.hxx | 8 | ||||
-rw-r--r-- | xmlscript/source/xmlmod_imexp/xmlmod_import.cxx | 6 |
15 files changed, 88 insertions, 88 deletions
diff --git a/xmlscript/source/inc/xml_import.hxx b/xmlscript/source/inc/xml_import.hxx index 2e36643379fd..f6df8b297e0b 100644 --- a/xmlscript/source/inc/xml_import.hxx +++ b/xmlscript/source/inc/xml_import.hxx @@ -59,7 +59,7 @@ SAL_CALL createDocumentHandler( ::com::sun::star::uno::Reference< ::com::sun::star::xml::input::XRoot > const & xRoot, bool bSingleThreadedUse = true ) - SAL_THROW( () ); + SAL_THROW(()); } diff --git a/xmlscript/source/xml_helper/xml_byteseq.cxx b/xmlscript/source/xml_helper/xml_byteseq.cxx index 2f3d90407c6a..17c2a3f8afdd 100644 --- a/xmlscript/source/xml_helper/xml_byteseq.cxx +++ b/xmlscript/source/xml_helper/xml_byteseq.cxx @@ -50,7 +50,7 @@ class BSeqInputStream public: inline BSeqInputStream( ByteSequence const & rSeq ) - SAL_THROW( () ) + SAL_THROW(()) : _seq( rSeq ) , _nPos( 0 ) {} @@ -119,7 +119,7 @@ class BSeqOutputStream public: inline BSeqOutputStream( ByteSequence * seq ) - SAL_THROW( () ) + SAL_THROW(()) : _seq( seq ) {} @@ -157,14 +157,14 @@ void BSeqOutputStream::closeOutput() //================================================================================================== Reference< io::XInputStream > SAL_CALL createInputStream( ByteSequence const & rInData ) - SAL_THROW( () ) + SAL_THROW(()) { return new BSeqInputStream( rInData ); } //================================================================================================== Reference< io::XOutputStream > SAL_CALL createOutputStream( ByteSequence * pOutData ) - SAL_THROW( () ) + SAL_THROW(()) { return new BSeqOutputStream( pOutData ); } diff --git a/xmlscript/source/xml_helper/xml_element.cxx b/xmlscript/source/xml_helper/xml_element.cxx index 89ec4a498d3f..54a12bfe8e11 100644 --- a/xmlscript/source/xml_helper/xml_element.cxx +++ b/xmlscript/source/xml_helper/xml_element.cxx @@ -38,20 +38,20 @@ namespace xmlscript //__________________________________________________________________________________________________ void XMLElement::addAttribute( OUString const & rAttrName, OUString const & rValue ) - SAL_THROW( () ) + SAL_THROW(()) { _attrNames.push_back( rAttrName ); _attrValues.push_back( rValue ); } //__________________________________________________________________________________________________ void XMLElement::addSubElement( Reference< xml::sax::XAttributeList > const & xElem ) - SAL_THROW( () ) + SAL_THROW(()) { _subElems.push_back( xElem ); } //__________________________________________________________________________________________________ Reference< xml::sax::XAttributeList > XMLElement::getSubElement( sal_Int32 nIndex ) - SAL_THROW( () ) + SAL_THROW(()) { return _subElems[ (size_t)nIndex ]; } diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx index 5b6315cda78c..ebe47ef90970 100644 --- a/xmlscript/source/xml_helper/xml_impctx.cxx +++ b/xmlscript/source/xml_helper/xml_impctx.cxx @@ -76,7 +76,7 @@ struct PrefixEntry { ::std::vector< sal_Int32 > m_Uids; - inline PrefixEntry() SAL_THROW( () ) + inline PrefixEntry() SAL_THROW(()) { m_Uids.reserve( 4 ); } }; @@ -879,7 +879,7 @@ OUString ExtendedAttributes::getValueByUidName( Reference< xml::sax::XDocumentHandler > SAL_CALL createDocumentHandler( Reference< xml::input::XRoot > const & xRoot, bool bSingleThreadedUse ) - SAL_THROW( () ) + SAL_THROW(()) { OSL_ASSERT( xRoot.is() ); if (xRoot.is()) 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 ) { diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx index 2a1741afb2fc..616f31929530 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx @@ -529,7 +529,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& / Reference< XInterface > SAL_CALL create_XMLBasicExporter( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new XMLBasicExporter( xContext ) ); } @@ -538,7 +538,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& / Reference< XInterface > SAL_CALL create_XMLOasisBasicExporter( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new XMLOasisBasicExporter( xContext ) ); } diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx index 0f0af3b6295a..a5f26e2bbed0 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx @@ -909,7 +909,7 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x Reference< XInterface > SAL_CALL create_XMLBasicImporter( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new XMLBasicImporter( xContext ) ); } @@ -918,7 +918,7 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x Reference< XInterface > SAL_CALL create_XMLOasisBasicImporter( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new XMLOasisBasicImporter( xContext ) ); } diff --git a/xmlscript/source/xmllib_imexp/imp_share.hxx b/xmlscript/source/xmllib_imexp/imp_share.hxx index 1cfa25525a3e..b8ca32156f3c 100644 --- a/xmlscript/source/xmllib_imexp/imp_share.hxx +++ b/xmlscript/source/xmllib_imexp/imp_share.hxx @@ -51,7 +51,7 @@ using namespace ::com::sun::star::uno; namespace xmlscript { -inline sal_Int32 toInt32( OUString const & rStr ) SAL_THROW( () ) +inline sal_Int32 toInt32( OUString const & rStr ) SAL_THROW(()) { sal_Int32 nVal; if (rStr.getLength() > 2 && rStr[ 0 ] == '0' && rStr[ 1 ] == 'x') @@ -135,16 +135,16 @@ struct LibraryImport public: inline LibraryImport( LibDescriptorArray* pLibArray ) - SAL_THROW( () ) + SAL_THROW(()) : mpLibArray( pLibArray ) , mpLibDesc( NULL ) {} // Single library mode inline LibraryImport( LibDescriptor* pLibDesc ) - SAL_THROW( () ) + SAL_THROW(()) : mpLibArray( NULL ) , mpLibDesc( pLibDesc ) {} virtual ~LibraryImport() - SAL_THROW( () ); + SAL_THROW(()); // XRoot virtual void SAL_CALL startDocument( @@ -180,9 +180,9 @@ public: OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes, LibElementBase * pParent, LibraryImport * pImport ) - SAL_THROW( () ); + SAL_THROW(()); virtual ~LibElementBase() - SAL_THROW( () ); + SAL_THROW(()); // XElement virtual Reference< xml::input::XElement > SAL_CALL getParent() @@ -230,7 +230,7 @@ public: OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes, LibElementBase * pParent, LibraryImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : LibElementBase( rLocalName, xAttributes, pParent, pImport ) {} }; @@ -255,7 +255,7 @@ public: OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes, LibElementBase * pParent, LibraryImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : LibElementBase( rLocalName, xAttributes, pParent, pImport ) {} }; diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx index f0d44b674204..158ca9959180 100644 --- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx +++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx @@ -106,7 +106,7 @@ LibElementBase::LibElementBase( OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes, LibElementBase * pParent, LibraryImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : _pImport( pImport ) , _pParent( pParent ) , _aLocalName( rLocalName ) @@ -121,7 +121,7 @@ LibElementBase::LibElementBase( } //__________________________________________________________________________________________________ LibElementBase::~LibElementBase() - SAL_THROW( () ) + SAL_THROW(()) { _pImport->release(); @@ -214,7 +214,7 @@ Reference< xml::input::XElement > LibraryImport::startRootElement( } //__________________________________________________________________________________________________ LibraryImport::~LibraryImport() - SAL_THROW( () ) + SAL_THROW(()) { #if OSL_DEBUG_LEVEL > 1 OSL_TRACE( "LibraryImport::~LibraryImport()." ); diff --git a/xmlscript/source/xmlmod_imexp/imp_share.hxx b/xmlscript/source/xmlmod_imexp/imp_share.hxx index 3e63aa7a4e3e..1ae18d80b572 100644 --- a/xmlscript/source/xmlmod_imexp/imp_share.hxx +++ b/xmlscript/source/xmlmod_imexp/imp_share.hxx @@ -70,10 +70,10 @@ struct ModuleImport public: inline ModuleImport( ModuleDescriptor& rModuleDesc ) - SAL_THROW( () ) + SAL_THROW(()) : mrModuleDesc( rModuleDesc ) {} virtual ~ModuleImport() - SAL_THROW( () ); + SAL_THROW(()); // XRoot virtual void SAL_CALL startDocument( @@ -110,9 +110,9 @@ public: OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes, ModuleElement * pParent, ModuleImport * pImport ) - SAL_THROW( () ); + SAL_THROW(()); virtual ~ModuleElement() - SAL_THROW( () ); + SAL_THROW(()); // XElement virtual Reference< xml::input::XElement > SAL_CALL getParent() diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx index 2cbab0f7bc1e..ac358681e6cd 100644 --- a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx +++ b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx @@ -106,7 +106,7 @@ ModuleElement::ModuleElement( OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes, ModuleElement * pParent, ModuleImport * pImport ) - SAL_THROW( () ) + SAL_THROW(()) : _pImport( pImport ) , _pParent( pParent ) , _aLocalName( rLocalName ) @@ -121,7 +121,7 @@ ModuleElement::ModuleElement( } //__________________________________________________________________________________________________ ModuleElement::~ModuleElement() - SAL_THROW( () ) + SAL_THROW(()) { _pImport->release(); @@ -208,7 +208,7 @@ Reference< xml::input::XElement > ModuleImport::startRootElement( } //__________________________________________________________________________________________________ ModuleImport::~ModuleImport() - SAL_THROW( () ) + SAL_THROW(()) { #if OSL_DEBUG_LEVEL > 1 OSL_TRACE( "ModuleImport::~ModuleImport()." ); |