summaryrefslogtreecommitdiff
path: root/xmlscript/source/xml_helper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-05 08:11:40 +0200
committerNoel Grandin <noel@peralex.com>2014-06-05 08:17:48 +0200
commitdfd44d0b122869e291ba42085e31164a401a0a23 (patch)
tree5d021229f819e04824a72045517b9c30d2b41b22 /xmlscript/source/xml_helper
parente5c20a785c5fafdd4dc9e6ac14ce548d2a527571 (diff)
xmlscript: remove SAL_THROW macro
Change-Id: Ic830c23d8696fde323dcf67697248a84658be2bf
Diffstat (limited to 'xmlscript/source/xml_helper')
-rw-r--r--xmlscript/source/xml_helper/xml_byteseq.cxx4
-rw-r--r--xmlscript/source/xml_helper/xml_element.cxx3
-rw-r--r--xmlscript/source/xml_helper/xml_impctx.cxx4
3 files changed, 1 insertions, 10 deletions
diff --git a/xmlscript/source/xml_helper/xml_byteseq.cxx b/xmlscript/source/xml_helper/xml_byteseq.cxx
index ea275fc3de8d..b9dd1caca3a4 100644
--- a/xmlscript/source/xml_helper/xml_byteseq.cxx
+++ b/xmlscript/source/xml_helper/xml_byteseq.cxx
@@ -39,7 +39,6 @@ class BSeqInputStream
public:
inline BSeqInputStream( ByteSequence const & rSeq )
- SAL_THROW(())
: _seq( rSeq )
, _nPos( 0 )
{}
@@ -105,7 +104,6 @@ class BSeqOutputStream
public:
inline BSeqOutputStream( ByteSequence * seq )
- SAL_THROW(())
: _seq( seq )
{}
@@ -139,13 +137,11 @@ void BSeqOutputStream::closeOutput()
}
Reference< io::XInputStream > SAL_CALL createInputStream( ByteSequence const & rInData )
- SAL_THROW(())
{
return new BSeqInputStream( rInData );
}
Reference< io::XOutputStream > SAL_CALL createOutputStream( ByteSequence * pOutData )
- 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 08f0dc463793..8070c6018385 100644
--- a/xmlscript/source/xml_helper/xml_element.cxx
+++ b/xmlscript/source/xml_helper/xml_element.cxx
@@ -26,20 +26,17 @@ namespace xmlscript
{
void XMLElement::addAttribute( OUString const & rAttrName, OUString const & rValue )
- SAL_THROW(())
{
_attrNames.push_back( rAttrName );
_attrValues.push_back( rValue );
}
void XMLElement::addSubElement( Reference< xml::sax::XAttributeList > const & xElem )
- SAL_THROW(())
{
_subElems.push_back( xElem );
}
Reference< xml::sax::XAttributeList > XMLElement::getSubElement( sal_Int32 nIndex )
- 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 36857765e99c..f38d2108c9dc 100644
--- a/xmlscript/source/xml_helper/xml_impctx.cxx
+++ b/xmlscript/source/xml_helper/xml_impctx.cxx
@@ -63,7 +63,7 @@ struct PrefixEntry
{
::std::vector< sal_Int32 > m_Uids;
- inline PrefixEntry() SAL_THROW(())
+ inline PrefixEntry()
{ m_Uids.reserve( 4 ); }
};
@@ -797,7 +797,6 @@ OUString ExtendedAttributes::getValueByUidName(
Reference< xml::sax::XDocumentHandler > SAL_CALL createDocumentHandler(
Reference< xml::input::XRoot > const & xRoot,
bool bSingleThreadedUse )
- SAL_THROW(())
{
SAL_WARN_IF( !xRoot.is(), "xmlscript.xmlhelper", "xRoot is NULL" );
if (xRoot.is())
@@ -810,7 +809,6 @@ Reference< xml::sax::XDocumentHandler > SAL_CALL createDocumentHandler(
Reference< XInterface > SAL_CALL create_DocumentHandlerImpl(
SAL_UNUSED_PARAMETER Reference< XComponentContext > const & )
- SAL_THROW( (Exception) )
{
return static_cast< ::cppu::OWeakObject * >(
new DocumentHandlerImpl(