tools/map.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 453637e8a1d58839a7b0509a6714bf8a8cfe54d9 Author: Michael Meeks <[email protected]> Date: Tue Dec 12 12:04:19 2017 +0000 loolmap: fix assert on zero parent pages. Change-Id: Ieeac3e5fc3746e4089d8688e96bb9dcb59ee17c5 diff --git a/tools/map.cpp b/tools/map.cpp index c69db7d2..35375282 100644 --- a/tools/map.cpp +++ b/tools/map.cpp @@ -305,9 +305,10 @@ static void dumpPages(unsigned proc_id, unsigned parent_id, const char *type, co } if (bZeroParent) { - parentData.resize(0); // diff un-interesting. + style = "zero parent page"; + touched = 0; // ignore tedious diff. } - if (touched == 0) + else if (touched == 0) { if (DumpAll) style = "dump unchanged"; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
