diff options
-rw-r--r-- | sw/source/filter/ww8/sortedarray.hxx | 4 |
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 |