From 879610c41cfad7bff1350d9f6720b53bb478b6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 12 Nov 2024 16:32:05 +0000 Subject: [PATCH] It's not really an error to not have atevent.xml in an autotext MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- sw/source/core/swg/SwXMLTextBlocks1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;