Typo exeption->exception (domtest.cxx)

Change-Id: Id8a6b33a643defff82fa9b5e55ebf8c0d3e9c48d
Reviewed-on: https://gerrit.libreoffice.org/42023
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Julien Nabet
2017-09-06 20:49:21 +02:00
parent a71b454eab
commit 04f1af50c5

View File

@@ -235,7 +235,7 @@ struct BasicTest : public test::BootstrapFixture
{ {
try try
{ {
// We DONT expect exeption here, as mxWarningInStream is valid XML Doc // We DONT expect exception here, as mxWarningInStream is valid XML Doc
CPPUNIT_ASSERT_MESSAGE("Valid input file did not result in XDocument #2", CPPUNIT_ASSERT_MESSAGE("Valid input file did not result in XDocument #2",
mxDomBuilder->parse( mxDomBuilder->parse(
uno::Reference<io::XInputStream>( uno::Reference<io::XInputStream>(
@@ -253,7 +253,7 @@ struct BasicTest : public test::BootstrapFixture
{ {
try try
{ {
// We expect exeption here, as mxErrorInStream is invalid XML Doc // We expect exception here, as mxErrorInStream is invalid XML Doc
CPPUNIT_ASSERT_MESSAGE("Invalid input file result in XDocument #2!", CPPUNIT_ASSERT_MESSAGE("Invalid input file result in XDocument #2!",
!mxDomBuilder->parse( !mxDomBuilder->parse(
uno::Reference<io::XInputStream>( uno::Reference<io::XInputStream>(
@@ -262,7 +262,7 @@ struct BasicTest : public test::BootstrapFixture
} }
catch (const css::xml::sax::SAXParseException&) catch (const css::xml::sax::SAXParseException&)
{ {
// It's OK to catch an exeption here as we parse incorrect XML file // It's OK to catch an exception here as we parse incorrect XML file
} }
CPPUNIT_ASSERT_MESSAGE("No parse errors in unclean input file", CPPUNIT_ASSERT_MESSAGE("No parse errors in unclean input file",
!mxErrHandler->mnWarnCount && mxErrHandler->mnErrCount /*&& !mxErrHandler->mnFatalCount*/); !mxErrHandler->mnWarnCount && mxErrHandler->mnErrCount /*&& !mxErrHandler->mnFatalCount*/);