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

New commits:
commit f7e5b8e289645f2561844c0018bc4283b0e63b21
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sat Oct 10 21:22:04 2020 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Oct 12 09:47:29 2020 +0200

    IsSizeLegalCheckSize is a silly name
    
    Change-Id: If39302042d3e53798aaa8564fddc8ddd6e539712
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104179
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 65a5818abb48..09b43d02f52f 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -5171,7 +5171,7 @@ void WW8PLCFMan::RestoreAllPLCFx( const WW8PLCFxSaveAll& 
rSave )
 
 namespace
 {
-    bool IsSizeLegalCheckSize(long nSprmLen, sal_Int32 nSprmsLen)
+    bool IsSizeLegal(long nSprmLen, sal_Int32 nSprmsLen)
     {
         if (nSprmLen > nSprmsLen)
         {
@@ -5237,7 +5237,7 @@ void WW8PLCFMan::GetSprmStart( short nIdx, 
WW8PLCFManResult* pRes ) const
     {
         // Length of actual sprm
         pRes->nMemLen = maSprmParser.GetSprmSize(pRes->nSprmId, pRes->pMemPos, 
p->nSprmsLen);
-        if (!IsSizeLegalCheckSize(pRes->nMemLen, p->nSprmsLen) || 
!IsSprmLegalForCategory(pRes->nSprmId, nIdx))
+        if (!IsSizeLegal(pRes->nMemLen, p->nSprmsLen) || 
!IsSprmLegalForCategory(pRes->nSprmId, nIdx))
         {
             pRes->nSprmId = 0;
         }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to