[Libreoffice-commits] core.git: editeng/source
Varun Dhall
varun.dhall at studentpartner.com
Thu Jul 6 21:19:01 UTC 2017
editeng/source/xml/xmltxtexp.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a62c9ecfc27a375cddb2beefba4b5af9bd4f7727
Author: Varun Dhall <varun.dhall at studentpartner.com>
Date: Thu Jul 6 20:23:10 2017 +0530
EditEngine: Added warning for xml export exception
Change-Id: I8709e6656ff753cdd833ee3622a922126161fc2d
Reviewed-on: https://gerrit.libreoffice.org/39660
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx
index 42f01b7514da..9b9a60d77079 100644
--- a/editeng/source/xml/xmltxtexp.cxx
+++ b/editeng/source/xml/xmltxtexp.cxx
@@ -368,9 +368,9 @@ void SvxWriteXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection&
}
while( false );
}
- catch( const uno::Exception& )
+ catch( const uno::Exception& e )
{
- OSL_FAIL("exception during xml export");
+ SAL_WARN("editeng", "exception during xml export: " << e.Message);
}
}
More information about the Libreoffice-commits
mailing list