diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-29 14:04:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-30 09:13:24 +0200 |
commit | d16d9f950f8cb6d8948875372c9ff1f0aae9fb7a (patch) | |
tree | b8d2146504c704fb9dfa11ea835ae39ff49e3dec /sw/source/uibase/misc | |
parent | fa5822ce69bfc80ac8b1c5caa98de7e5c7ccf568 (diff) |
remove some unnecessary typedefs to pointer
that were really not helping make the code any clearer.
Found with a search
git grep -P 'typedef\s+\w+\s*\*\s*\w+\;'
and manual inspection
Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
Diffstat (limited to 'sw/source/uibase/misc')
-rw-r--r-- | sw/source/uibase/misc/redlndlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx index 73acb6a265bd..39ac83783291 100644 --- a/sw/source/uibase/misc/redlndlg.cxx +++ b/sw/source/uibase/misc/redlndlg.cxx @@ -594,7 +594,7 @@ void SwRedlineAcceptDlg::InsertChildren(SwRedlineDataParent *pParent, const SwRa { pRedlineData = pRedlineData->Next(); - SwRedlineDataChildPtr pRedlineChild = new SwRedlineDataChild; + SwRedlineDataChild* pRedlineChild = new SwRedlineDataChild; pRedlineChild->pChild = pRedlineData; aRedlineChildren.push_back(pRedlineChild); @@ -674,7 +674,7 @@ void SwRedlineAcceptDlg::RemoveParents(sal_uInt16 nStart, sal_uInt16 nEnd) { if (!bChildrenRemoved && aRedlineParents[i].pNext) { - SwRedlineDataChildPtr pChildPtr = const_cast<SwRedlineDataChildPtr>(aRedlineParents[i].pNext); + SwRedlineDataChild* pChildPtr = const_cast<SwRedlineDataChild*>(aRedlineParents[i].pNext); for( SwRedlineDataChildArr::iterator it = aRedlineChildren.begin(); it != aRedlineChildren.end(); ++it) if (&*it == pChildPtr) @@ -682,7 +682,7 @@ void SwRedlineAcceptDlg::RemoveParents(sal_uInt16 nStart, sal_uInt16 nEnd) sal_uInt16 nChildren = 0; while (pChildPtr) { - pChildPtr = const_cast<SwRedlineDataChildPtr>(pChildPtr->pNext); + pChildPtr = const_cast<SwRedlineDataChild*>(pChildPtr->pNext); nChildren++; } |