diff options
Diffstat (limited to 'writerfilter/source/ooxml/OOXMLFastContextHandler.cxx')
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx index 7cee46482905..802d577a6f5c 100644 --- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx +++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx @@ -157,7 +157,6 @@ bool OOXMLFastContextHandler::prepareMceContext(Token_t nElement, const uno::Ref void SAL_CALL OOXMLFastContextHandler::startFastElement (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (oox::getNamespace(Element) == static_cast<sal_Int32>(NMSP_mce)) m_bDiscardChildren = prepareMceContext(Element, Attribs); @@ -172,12 +171,10 @@ void SAL_CALL OOXMLFastContextHandler::startFastElement void SAL_CALL OOXMLFastContextHandler::startUnknownElement (const OUString & /*Namespace*/, const OUString & /*Name*/, const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/) -throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { } void SAL_CALL OOXMLFastContextHandler::endFastElement(Token_t Element) -throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (Element == (NMSP_mce | XML_Choice) || Element == (NMSP_mce | XML_Fallback)) m_bDiscardChildren = false; @@ -195,7 +192,6 @@ throw (uno::RuntimeException, xml::sax::SAXException, std::exception) void OOXMLFastContextHandler::lcl_startFastElement (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { OOXMLFactory::startAction(this, Element); if( Element == (NMSP_dmlWordDr|XML_positionV) ) @@ -207,14 +203,12 @@ void OOXMLFastContextHandler::lcl_startFastElement void OOXMLFastContextHandler::lcl_endFastElement (Token_t Element) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { OOXMLFactory::endAction(this, Element); } void SAL_CALL OOXMLFastContextHandler::endUnknownElement (const OUString & , const OUString & ) -throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { } @@ -222,7 +216,6 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL OOXMLFastContextHandler::createFastChildContext (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { uno::Reference< xml::sax::XFastContextHandler > xResult; if (oox::getNamespace(Element) != NMSP_mce && !m_bDiscardChildren) @@ -237,7 +230,6 @@ uno::Reference< xml::sax::XFastContextHandler > OOXMLFastContextHandler::lcl_createFastChildContext (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { return OOXMLFactory::createFastChildContext(this, Element); } @@ -247,7 +239,6 @@ OOXMLFastContextHandler::createUnknownChildContext (const OUString &, const OUString &, const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { return uno::Reference< xml::sax::XFastContextHandler > (new OOXMLFastContextHandler(*const_cast<const OOXMLFastContextHandler *>(this))); @@ -255,14 +246,12 @@ OOXMLFastContextHandler::createUnknownChildContext void SAL_CALL OOXMLFastContextHandler::characters (const OUString & aChars) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { lcl_characters(aChars); } void OOXMLFastContextHandler::lcl_characters (const OUString & rString) -throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (!m_bDiscardChildren) OOXMLFactory::characters(this, rString); @@ -280,7 +269,6 @@ OOXMLValue::Pointer_t OOXMLFastContextHandler::getValue() const void OOXMLFastContextHandler::attributes (const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException) { OOXMLFactory::attributes(this, Attribs); } @@ -935,7 +923,6 @@ OOXMLFastContextHandlerProperties::~OOXMLFastContextHandlerProperties() void OOXMLFastContextHandlerProperties::lcl_endFastElement (Token_t Element) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { try { @@ -1104,7 +1091,6 @@ OOXMLFastContextHandlerPropertyTable::~OOXMLFastContextHandlerPropertyTable() void OOXMLFastContextHandlerPropertyTable::lcl_endFastElement (Token_t Element) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { OOXMLPropertySet::Pointer_t pPropSet(mpPropertySet->clone()); OOXMLTable::ValuePointer_t pTmpVal @@ -1145,7 +1131,6 @@ OOXMLValue::Pointer_t OOXMLFastContextHandlerValue::getValue() const void OOXMLFastContextHandlerValue::lcl_endFastElement (Token_t Element) -throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { sendPropertyToParent(); @@ -1205,7 +1190,6 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL OOXMLFastContextHandlerTable::createFastChildContext (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { addCurrentChild(); @@ -1216,7 +1200,6 @@ OOXMLFastContextHandlerTable::createFastChildContext void OOXMLFastContextHandlerTable::lcl_endFastElement (Token_t /*Element*/) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { addCurrentChild(); @@ -1262,7 +1245,6 @@ OOXMLFastContextHandlerXNote::~OOXMLFastContextHandlerXNote() void OOXMLFastContextHandlerXNote::lcl_startFastElement (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { mbForwardEventsSaved = isForwardEvents(); @@ -1277,7 +1259,6 @@ void OOXMLFastContextHandlerXNote::lcl_startFastElement void OOXMLFastContextHandlerXNote::lcl_endFastElement (Token_t Element) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { endAction(Element); @@ -1515,7 +1496,6 @@ OOXMLFastContextHandlerTextTable::~OOXMLFastContextHandlerTextTable() void OOXMLFastContextHandlerTextTable::lcl_startFastElement (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { mpParserState->startTable(); mnTableDepth++; @@ -1534,7 +1514,6 @@ void OOXMLFastContextHandlerTextTable::lcl_startFastElement void OOXMLFastContextHandlerTextTable::lcl_endFastElement (Token_t Element) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { endAction(Element); @@ -1586,7 +1565,6 @@ OOXMLFastContextHandlerShape::~OOXMLFastContextHandlerShape() void OOXMLFastContextHandlerShape::lcl_startFastElement (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { startAction(Element); @@ -1600,7 +1578,6 @@ void SAL_CALL OOXMLFastContextHandlerShape::startUnknownElement (const OUString & Namespace, const OUString & Name, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (mrShapeContext.is()) mrShapeContext->startUnknownElement(Namespace, Name, Attribs); @@ -1642,7 +1619,6 @@ void OOXMLFastContextHandlerShape::sendShape( Token_t Element ) void OOXMLFastContextHandlerShape::lcl_endFastElement (Token_t Element) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (mrShapeContext.is()) { @@ -1661,7 +1637,6 @@ void OOXMLFastContextHandlerShape::lcl_endFastElement void SAL_CALL OOXMLFastContextHandlerShape::endUnknownElement (const OUString & Namespace, const OUString & Name) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (mrShapeContext.is()) mrShapeContext->endUnknownElement(Namespace, Name); @@ -1671,7 +1646,6 @@ uno::Reference< xml::sax::XFastContextHandler > OOXMLFastContextHandlerShape::lcl_createFastChildContext (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { uno::Reference< xml::sax::XFastContextHandler > xContextHandler; @@ -1730,7 +1704,6 @@ OOXMLFastContextHandlerShape::createUnknownChildContext (const OUString & Namespace, const OUString & Name, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { uno::Reference< xml::sax::XFastContextHandler > xResult; @@ -1743,7 +1716,6 @@ OOXMLFastContextHandlerShape::createUnknownChildContext void OOXMLFastContextHandlerShape::lcl_characters (const OUString & aChars) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (mrShapeContext.is()) mrShapeContext->characters(aChars); @@ -1771,7 +1743,6 @@ void SAL_CALL OOXMLFastContextHandlerWrapper::startUnknownElement (const OUString & Namespace, const OUString & Name, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (mxContext.is()) mxContext->startUnknownElement(Namespace, Name, Attribs); @@ -1780,7 +1751,6 @@ void SAL_CALL OOXMLFastContextHandlerWrapper::startUnknownElement void SAL_CALL OOXMLFastContextHandlerWrapper::endUnknownElement (const OUString & Namespace, const OUString & Name) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (mxContext.is()) mxContext->endUnknownElement(Namespace, Name); @@ -1791,7 +1761,6 @@ OOXMLFastContextHandlerWrapper::createUnknownChildContext (const OUString & Namespace, const OUString & Name, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { uno::Reference< xml::sax::XFastContextHandler > xResult; @@ -1806,7 +1775,6 @@ OOXMLFastContextHandlerWrapper::createUnknownChildContext void OOXMLFastContextHandlerWrapper::attributes (const uno::Reference< xml::sax::XFastAttributeList > & Attribs) -throw (uno::RuntimeException, xml::sax::SAXException) { if (mxContext.is()) { @@ -1835,7 +1803,6 @@ void OOXMLFastContextHandlerWrapper::addToken( Token_t Token ) void OOXMLFastContextHandlerWrapper::lcl_startFastElement (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (mxContext.is()) mxContext->startFastElement(Element, Attribs); @@ -1843,7 +1810,6 @@ void OOXMLFastContextHandlerWrapper::lcl_startFastElement void OOXMLFastContextHandlerWrapper::lcl_endFastElement (Token_t Element) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (mxContext.is()) mxContext->endFastElement(Element); @@ -1853,7 +1819,6 @@ uno::Reference< xml::sax::XFastContextHandler > OOXMLFastContextHandlerWrapper::lcl_createFastChildContext (Token_t Element, const uno::Reference< xml::sax::XFastAttributeList > & Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { uno::Reference< xml::sax::XFastContextHandler > xResult; @@ -1890,7 +1855,6 @@ OOXMLFastContextHandlerWrapper::lcl_createFastChildContext void OOXMLFastContextHandlerWrapper::lcl_characters (const OUString & aChars) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { if (mxContext.is()) mxContext->characters(aChars); @@ -2025,14 +1989,12 @@ OOXMLFastContextHandlerLinear::OOXMLFastContextHandlerLinear(OOXMLFastContextHan void OOXMLFastContextHandlerLinear::lcl_startFastElement(Token_t Element, const uno::Reference< xml::sax::XFastAttributeList >& Attribs) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { buffer.appendOpeningTag( Element, Attribs ); ++depthCount; } void OOXMLFastContextHandlerLinear::lcl_endFastElement(Token_t Element) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { buffer.appendClosingTag( Element ); if( --depthCount == 0 ) @@ -2042,7 +2004,6 @@ void OOXMLFastContextHandlerLinear::lcl_endFastElement(Token_t Element) uno::Reference< xml::sax::XFastContextHandler > OOXMLFastContextHandlerLinear::lcl_createFastChildContext(Token_t, const uno::Reference< xml::sax::XFastAttributeList >&) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { uno::Reference< xml::sax::XFastContextHandler > xContextHandler; xContextHandler.set( this ); @@ -2050,7 +2011,6 @@ OOXMLFastContextHandlerLinear::lcl_createFastChildContext(Token_t, } void OOXMLFastContextHandlerLinear::lcl_characters(const OUString& aChars) - throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { buffer.appendCharacters( aChars ); } |