sw/source/core/swg/SwXMLTextBlocks1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 879610c41cfad7bff1350d9f6720b53bb478b6a3 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Nov 12 16:32:05 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Nov 12 20:26:30 2024 +0100 It's not really an error to not have atevent.xml in an autotext so downgrade to SAL_INFO Change-Id: I143eea443e7b41307d80d17b44ac980c73854388 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176491 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/source/core/swg/SwXMLTextBlocks1.cxx b/sw/source/core/swg/SwXMLTextBlocks1.cxx index 9673e0cecc22..3f3005eb9996 100644 --- a/sw/source/core/swg/SwXMLTextBlocks1.cxx +++ b/sw/source/core/swg/SwXMLTextBlocks1.cxx @@ -186,7 +186,7 @@ ErrCode SwXMLTextBlocks::GetMacroTable( sal_uInt16 nIdx, uno::Reference < io::XStream > xDocStream = m_xRoot->openStreamElement( u"atevent.xml"_ustr, embed::ElementModes::READ ); - OSL_ENSURE(xDocStream.is(), "Can't create stream"); + SAL_INFO("sw", "Can't open atevent.xml stream"); if ( !xDocStream.is() ) return ERR_SWG_READ_ERROR;