loplugin:sallogareas
Change-Id: Idd4f44b66e67d938a1ba2b9c7ff4be0b0009ff53
This commit is contained in:
@@ -467,7 +467,7 @@ bool sanityCheckLayoutCache(SwLayCacheImpl const& rCache,
|
|||||||
auto const nBreakIndex(rCache.GetBreakIndex(nIndex));
|
auto const nBreakIndex(rCache.GetBreakIndex(nIndex));
|
||||||
if (nBreakIndex < nNodeIndex || nMaxIndex <= nBreakIndex)
|
if (nBreakIndex < nNodeIndex || nMaxIndex <= nBreakIndex)
|
||||||
{
|
{
|
||||||
SAL_WARN("sw.core.layout",
|
SAL_WARN("sw.core",
|
||||||
"invalid node index in layout-cache: " << nBreakIndex);
|
"invalid node index in layout-cache: " << nBreakIndex);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -477,7 +477,7 @@ bool sanityCheckLayoutCache(SwLayCacheImpl const& rCache,
|
|||||||
case SW_LAYCACHE_IO_REC_PARA:
|
case SW_LAYCACHE_IO_REC_PARA:
|
||||||
if (!rNodes[nBreakIndex + nStartOfContent]->IsTextNode())
|
if (!rNodes[nBreakIndex + nStartOfContent]->IsTextNode())
|
||||||
{
|
{
|
||||||
SAL_WARN("sw.core.layout",
|
SAL_WARN("sw.core",
|
||||||
"invalid node of type 'P' in layout-cache");
|
"invalid node of type 'P' in layout-cache");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -485,7 +485,7 @@ bool sanityCheckLayoutCache(SwLayCacheImpl const& rCache,
|
|||||||
case SW_LAYCACHE_IO_REC_TABLE:
|
case SW_LAYCACHE_IO_REC_TABLE:
|
||||||
if (!rNodes[nBreakIndex + nStartOfContent]->IsTableNode())
|
if (!rNodes[nBreakIndex + nStartOfContent]->IsTableNode())
|
||||||
{
|
{
|
||||||
SAL_WARN("sw.core.layout",
|
SAL_WARN("sw.core",
|
||||||
"invalid node of type 'T' in layout-cache");
|
"invalid node of type 'T' in layout-cache");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user