diff options
Diffstat (limited to 'sw/source/uibase/misc/redlndlg.cxx')
-rw-r--r-- | sw/source/uibase/misc/redlndlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx index fe613d41e533..0f2d72a0dac1 100644 --- a/sw/source/uibase/misc/redlndlg.cxx +++ b/sw/source/uibase/misc/redlndlg.cxx @@ -709,7 +709,6 @@ void SwRedlineAcceptDlg::InsertParents(sal_uInt16 nStart, sal_uInt16 nEnd) if (nEnd == USHRT_MAX) return; // no redlines in the document - RedlinData *pData; SvTreeListEntry *pParent; SwRedlineDataParent* pRedlineParent; const SwRangeRedline* pCurrRedline; @@ -739,7 +738,7 @@ void SwRedlineAcceptDlg::InsertParents(sal_uInt16 nStart, sal_uInt16 nEnd) pRedlineParent->sComment = sComment.replace('\n', ' '); aRedlineParents.insert(aRedlineParents.begin() + i, pRedlineParent); - pData = new RedlinData; + RedlinData *pData = new RedlinData; pData->pData = pRedlineParent; pData->bDisabled = false; |