summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/framework/saxeventkeeperimpl.cxx')
-rw-r--r--xmlsecurity/source/framework/saxeventkeeperimpl.cxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
index e14bc1fa7830..bb1ce37ff4f2 100644
--- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
+++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
@@ -858,7 +858,6 @@ sal_Int32 SAXEventKeeperImpl::createBlocker()
/* XSAXEventKeeper */
sal_Int32 SAL_CALL SAXEventKeeperImpl::addElementCollector( )
- throw (cssu::RuntimeException, std::exception)
{
return createElementCollector(
cssxc::sax::ElementMarkPriority_AFTERMODIFY,
@@ -867,32 +866,27 @@ sal_Int32 SAL_CALL SAXEventKeeperImpl::addElementCollector( )
}
void SAL_CALL SAXEventKeeperImpl::removeElementCollector( sal_Int32 id )
- throw (cssu::RuntimeException, std::exception)
{
markElementMarkBuffer(id);
}
sal_Int32 SAL_CALL SAXEventKeeperImpl::addBlocker( )
- throw (cssu::RuntimeException, std::exception)
{
return createBlocker();
}
void SAL_CALL SAXEventKeeperImpl::removeBlocker( sal_Int32 id )
- throw (cssu::RuntimeException, std::exception)
{
markElementMarkBuffer(id);
}
sal_Bool SAL_CALL SAXEventKeeperImpl::isBlocking( )
- throw (cssu::RuntimeException, std::exception)
{
return (m_pCurrentBlockingBufferNode != nullptr);
}
cssu::Reference< cssxw::XXMLElementWrapper > SAL_CALL
SAXEventKeeperImpl::getElement( sal_Int32 id )
- throw (cssu::RuntimeException, std::exception)
{
cssu::Reference< cssxw::XXMLElementWrapper > rc;
@@ -908,7 +902,6 @@ cssu::Reference< cssxw::XXMLElementWrapper > SAL_CALL
void SAL_CALL SAXEventKeeperImpl::setElement(
sal_Int32 id,
const cssu::Reference< cssxw::XXMLElementWrapper >& aElement )
- throw (cssu::RuntimeException, std::exception)
{
if (aElement.is())
{
@@ -939,7 +932,6 @@ void SAL_CALL SAXEventKeeperImpl::setElement(
cssu::Reference< cssxs::XDocumentHandler > SAL_CALL SAXEventKeeperImpl::setNextHandler(
const cssu::Reference< cssxs::XDocumentHandler >& xNewHandler )
- throw (cssu::RuntimeException, std::exception)
{
cssu::Reference< cssxs::XDocumentHandler > xOldHandler = m_xNextHandler;
@@ -948,7 +940,6 @@ cssu::Reference< cssxs::XDocumentHandler > SAL_CALL SAXEventKeeperImpl::setNextH
}
OUString SAL_CALL SAXEventKeeperImpl::printBufferNodeTree()
- throw (cssu::RuntimeException, std::exception)
{
OUString rc;
@@ -962,7 +953,6 @@ OUString SAL_CALL SAXEventKeeperImpl::printBufferNodeTree()
}
cssu::Reference< cssxw::XXMLElementWrapper > SAL_CALL SAXEventKeeperImpl::getCurrentBlockingNode()
- throw (cssu::RuntimeException, std::exception)
{
cssu::Reference< cssxw::XXMLElementWrapper > rc;
@@ -978,7 +968,6 @@ cssu::Reference< cssxw::XXMLElementWrapper > SAL_CALL SAXEventKeeperImpl::getCur
sal_Int32 SAL_CALL SAXEventKeeperImpl::addSecurityElementCollector(
cssxc::sax::ElementMarkPriority priority,
sal_Bool modifyElement )
- throw (cssu::RuntimeException, std::exception)
{
return createElementCollector(
priority,
@@ -987,7 +976,6 @@ sal_Int32 SAL_CALL SAXEventKeeperImpl::addSecurityElementCollector(
}
void SAL_CALL SAXEventKeeperImpl::setSecurityId( sal_Int32 id, sal_Int32 securityId )
- throw (cssu::RuntimeException, std::exception)
{
ElementMark* pElementMark = findElementMarkBuffer(id);
if (pElementMark != nullptr)
@@ -1001,7 +989,6 @@ void SAL_CALL SAXEventKeeperImpl::setSecurityId( sal_Int32 id, sal_Int32 securit
void SAL_CALL SAXEventKeeperImpl::addReferenceResolvedListener(
sal_Int32 referenceId,
const cssu::Reference< cssxc::sax::XReferenceResolvedListener >& listener )
- throw (cssu::RuntimeException, std::exception)
{
ElementCollector* pElementCollector = static_cast<ElementCollector*>(findElementMarkBuffer(referenceId));
if (pElementCollector != nullptr)
@@ -1013,27 +1000,23 @@ void SAL_CALL SAXEventKeeperImpl::addReferenceResolvedListener(
void SAL_CALL SAXEventKeeperImpl::removeReferenceResolvedListener(
sal_Int32 /*referenceId*/,
const cssu::Reference< cssxc::sax::XReferenceResolvedListener >&)
- throw (cssu::RuntimeException, std::exception)
{
}
/* XSAXEventKeeperStatusChangeBroadcaster */
void SAL_CALL SAXEventKeeperImpl::addSAXEventKeeperStatusChangeListener(
const cssu::Reference< cssxc::sax::XSAXEventKeeperStatusChangeListener >& listener )
- throw (cssu::RuntimeException, std::exception)
{
m_xSAXEventKeeperStatusChangeListener = listener;
}
void SAL_CALL SAXEventKeeperImpl::removeSAXEventKeeperStatusChangeListener(
const cssu::Reference< cssxc::sax::XSAXEventKeeperStatusChangeListener >&)
- throw (cssu::RuntimeException, std::exception)
{
}
/* XDocumentHandler */
void SAL_CALL SAXEventKeeperImpl::startDocument( )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
if ( m_xNextHandler.is())
{
@@ -1042,7 +1025,6 @@ void SAL_CALL SAXEventKeeperImpl::startDocument( )
}
void SAL_CALL SAXEventKeeperImpl::endDocument( )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
if ( m_xNextHandler.is())
{
@@ -1053,7 +1035,6 @@ void SAL_CALL SAXEventKeeperImpl::endDocument( )
void SAL_CALL SAXEventKeeperImpl::startElement(
const OUString& aName,
const cssu::Reference< cssxs::XAttributeList >& xAttribs )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
/*
* If there is a following handler and no blocking now, then
@@ -1091,7 +1072,6 @@ void SAL_CALL SAXEventKeeperImpl::startElement(
}
void SAL_CALL SAXEventKeeperImpl::endElement( const OUString& aName )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
bool bIsCurrent = m_xXMLDocument->isCurrent(m_pCurrentBufferNode->getXMLElement());
@@ -1144,7 +1124,6 @@ void SAL_CALL SAXEventKeeperImpl::endElement( const OUString& aName )
}
void SAL_CALL SAXEventKeeperImpl::characters( const OUString& aChars )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
if (!m_bIsForwarding)
{
@@ -1162,14 +1141,12 @@ void SAL_CALL SAXEventKeeperImpl::characters( const OUString& aChars )
}
void SAL_CALL SAXEventKeeperImpl::ignorableWhitespace( const OUString& aWhitespaces )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
characters( aWhitespaces );
}
void SAL_CALL SAXEventKeeperImpl::processingInstruction(
const OUString& aTarget, const OUString& aData )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
if (!m_bIsForwarding)
{
@@ -1187,13 +1164,11 @@ void SAL_CALL SAXEventKeeperImpl::processingInstruction(
}
void SAL_CALL SAXEventKeeperImpl::setDocumentLocator( const cssu::Reference< cssxs::XLocator >&)
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
}
/* XInitialization */
void SAL_CALL SAXEventKeeperImpl::initialize( const cssu::Sequence< cssu::Any >& aArguments )
- throw (cssu::Exception, cssu::RuntimeException, std::exception)
{
OSL_ASSERT(aArguments.getLength() == 1);
@@ -1206,13 +1181,11 @@ void SAL_CALL SAXEventKeeperImpl::initialize( const cssu::Sequence< cssu::Any >&
}
OUString SAXEventKeeperImpl_getImplementationName ()
- throw (cssu::RuntimeException)
{
return OUString ( IMPLEMENTATION_NAME );
}
cssu::Sequence< OUString > SAL_CALL SAXEventKeeperImpl_getSupportedServiceNames( )
- throw (cssu::RuntimeException)
{
cssu::Sequence<OUString> aRet { "com.sun.star.xml.crypto.sax.SAXEventKeeper" };
return aRet;
@@ -1220,26 +1193,22 @@ cssu::Sequence< OUString > SAL_CALL SAXEventKeeperImpl_getSupportedServiceNames(
cssu::Reference< cssu::XInterface > SAL_CALL SAXEventKeeperImpl_createInstance(
const cssu::Reference< cssl::XMultiServiceFactory > &)
- throw( cssu::Exception )
{
return static_cast<cppu::OWeakObject*>(new SAXEventKeeperImpl());
}
/* XServiceInfo */
OUString SAL_CALL SAXEventKeeperImpl::getImplementationName( )
- throw (cssu::RuntimeException, std::exception)
{
return SAXEventKeeperImpl_getImplementationName();
}
sal_Bool SAL_CALL SAXEventKeeperImpl::supportsService( const OUString& rServiceName )
- throw (cssu::RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
cssu::Sequence< OUString > SAL_CALL SAXEventKeeperImpl::getSupportedServiceNames( )
- throw (cssu::RuntimeException, std::exception)
{
return SAXEventKeeperImpl_getSupportedServiceNames();
}