From 1de199cdcb17cba7e39dd5411c6e5048a0571600 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Apr 2014 08:42:20 +0100 Subject: fix higher debug level build Change-Id: I3b5ba865f43a93b3a293c1dbe3a50e6fbd36adea --- sw/source/filter/ww8/sortedarray.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/source/filter/ww8/sortedarray.hxx b/sw/source/filter/ww8/sortedarray.hxx index 928c3cb267a6..8b6817cea27f 100644 --- a/sw/source/filter/ww8/sortedarray.hxx +++ b/sw/source/filter/ww8/sortedarray.hxx @@ -67,7 +67,7 @@ namespace ww const C *pBeforeEnd = mpWwSprmTab + mnNoElems - 1; while (pIter < pBeforeEnd) { - if (*pIter == *(pIter+1)) + if (pIter->nId == (pIter+1)->nId) { if (!bBroken) { @@ -90,7 +90,7 @@ namespace ww sError += OUString(' '); } sError += OUString('\n'); - while (*pIter == *(pIter+1) && pIter < pBeforeEnd) + while (pIter->nId == (pIter+1)->nId && pIter < pBeforeEnd) ++pIter; } else -- cgit