[Libreoffice-commits] core.git: sw/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 2 10:04:19 UTC 2021


 sw/source/filter/ww8/ww8scan.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 168c1df143ac493d554ea4c2bff5314b67581b51
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Jun 2 11:03:22 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Jun 2 12:03:37 2021 +0200

    SAL_WARN -> SAL_INFO
    
    Change-Id: Id3402c4413589b5e82f5754810716a2a171ef6f5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116570
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index ae7309c4ca23..4ec169dfb187 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -5226,7 +5226,8 @@ bool WW8PLCFMan::IsSprmLegalForCategory(sal_uInt16 nSprmId, short nIdx) const
         auto nSGC = ((nSprmId & 0x1C00) >> 10);
         bRet = nSGC == 4;
     }
-    SAL_WARN_IF(!bRet, "sw.ww8", "sprm, id " << nSprmId << " wrong category for section properties");
+    if (!bRet)
+        SAL_INFO("sw.ww8", "sprm, id " << nSprmId << " wrong category for section properties");
     return bRet;
 }
 


More information about the Libreoffice-commits mailing list