diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-22 20:18:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-22 20:20:39 +0100 |
commit | c348df5635c45fd446fa9a7e831581164e55be71 (patch) | |
tree | d7639f8be229880ecd4e3eb12a0efb08bd61a9b7 /sw/source/core/bastyp/swcache.cxx | |
parent | eda255b38d871bb7d20432e5730cc8c68b3e2942 (diff) |
loplugin: various warnings
Change-Id: I605bffb518d804ee69edda5e7641e13e4c14ef01
Diffstat (limited to 'sw/source/core/bastyp/swcache.cxx')
-rw-r--r-- | sw/source/core/bastyp/swcache.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx index d900998f661f..4c77853f7ffe 100644 --- a/sw/source/core/bastyp/swcache.cxx +++ b/sw/source/core/bastyp/swcache.cxx @@ -37,8 +37,8 @@ void SwCache::Check() return; // consistency check - SAL_WARN_IF( pLast->GetNext(), "sw", "Last but not last." ); - SAL_WARN_IF( pRealFirst->GetPrev(), "sw", "First but not first." ); + SAL_WARN_IF( pLast->GetNext(), "sw.core", "Last but not last." ); + SAL_WARN_IF( pRealFirst->GetPrev(), "sw.core", "First but not first." ); sal_uInt16 nCnt = 0; bool bFirstFound = false; SwCacheObj *pObj = pRealFirst; @@ -49,20 +49,20 @@ void SwCache::Check() SwCacheObj *pTmp = pLast; while ( pTmp && pTmp != pObj ) pTmp = pTmp->GetPrev(); - SAL_WARN_IF( !pTmp, "sw", "Objekt not found." ); + SAL_WARN_IF( !pTmp, "sw.core", "Objekt not found." ); ++nCnt; if ( pObj == pFirst ) bFirstFound = true; if ( !pObj->GetNext() ) - SAL_WARN_IF( pObj != pLast, "sw", "Last not Found." ); + SAL_WARN_IF( pObj != pLast, "sw.core", "Last not Found." ); pObj = pObj->GetNext(); - SAL_WARN_IF( pObj == pRekursive, "sw", "Recursion in SwCache." ); + SAL_WARN_IF( pObj == pRekursive, "sw.core", "Recursion in SwCache." ); } - SAL_WARN_IF( !bFirstFound, "sw", "First not Found." ); - SAL_WARN_IF( nCnt + aFreePositions.size() != size(), "sw", "Lost Chain." ); + SAL_WARN_IF( !bFirstFound, "sw.core", "First not Found." ); + SAL_WARN_IF( nCnt + aFreePositions.size() != size(), "sw.core", "Lost Chain." ); SAL_WARN_IF( - size() == nCurMax && nCurMax != aFreePositions.size() + nCnt, "sw", + size() == nCurMax && nCurMax != aFreePositions.size() + nCnt, "sw.core", "Lost FreePositions." ); } |