summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-18 08:42:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-18 09:47:56 +0100
commit1de199cdcb17cba7e39dd5411c6e5048a0571600 (patch)
treeef503f2bde37d2bb689aaa4c3a821a7833b36af9
parent3168756d6e34e7dc86eacafd54905e5a527f2bb2 (diff)
fix higher debug level build
Change-Id: I3b5ba865f43a93b3a293c1dbe3a50e6fbd36adea
-rw-r--r--sw/source/filter/ww8/sortedarray.hxx4
1 files changed, 2 insertions, 2 deletions
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