loplugin:sallogareas

Change-Id: Idd4f44b66e67d938a1ba2b9c7ff4be0b0009ff53
This commit is contained in:
Stephan Bergmann
2017-04-03 15:30:02 +02:00
parent 8a5374f2fd
commit cfdc46a4bc

View File

@@ -467,7 +467,7 @@ bool sanityCheckLayoutCache(SwLayCacheImpl const& rCache,
auto const nBreakIndex(rCache.GetBreakIndex(nIndex));
if (nBreakIndex < nNodeIndex || nMaxIndex <= nBreakIndex)
{
SAL_WARN("sw.core.layout",
SAL_WARN("sw.core",
"invalid node index in layout-cache: " << nBreakIndex);
return false;
}
@@ -477,7 +477,7 @@ bool sanityCheckLayoutCache(SwLayCacheImpl const& rCache,
case SW_LAYCACHE_IO_REC_PARA:
if (!rNodes[nBreakIndex + nStartOfContent]->IsTextNode())
{
SAL_WARN("sw.core.layout",
SAL_WARN("sw.core",
"invalid node of type 'P' in layout-cache");
return false;
}
@@ -485,7 +485,7 @@ bool sanityCheckLayoutCache(SwLayCacheImpl const& rCache,
case SW_LAYCACHE_IO_REC_TABLE:
if (!rNodes[nBreakIndex + nStartOfContent]->IsTableNode())
{
SAL_WARN("sw.core.layout",
SAL_WARN("sw.core",
"invalid node of type 'T' in layout-cache");
return false;
}