diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-10 09:20:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-10 11:03:26 +0200 |
commit | 6a85925841feffdefead52ba35acd3379c8aa8ce (patch) | |
tree | e7db67e138cdb226d3ef345dff96ae29fa429c93 /sd/source/ui/view | |
parent | 66838c2418df4d016be0da0ef1c7e54934c03421 (diff) |
loplugin:simplifyconstruct in scaddins..sd
Change-Id: Ia2c04ef9fe5113b8b04304d0f495b948b5371fb4
Reviewed-on: https://gerrit.libreoffice.org/60237
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/OutlinerIterator.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/view/ToolBarManager.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/outlview.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 2 |
5 files changed, 2 insertions, 9 deletions
diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx index 5458eca52d28..da5e7b35096a 100644 --- a/sd/source/ui/view/OutlinerIterator.cxx +++ b/sd/source/ui/view/OutlinerIterator.cxx @@ -516,8 +516,7 @@ ViewIteratorImpl::ViewIteratorImpl ( bool bDirectionIsForward) : IteratorImplBase (pDocument, rpViewShellWeak, bDirectionIsForward), mbPageChangeOccurred(false), - mpPage(nullptr), - mpObjectIterator(nullptr) + mpPage(nullptr) { SetPage (nPageIndex); } @@ -531,8 +530,7 @@ ViewIteratorImpl::ViewIteratorImpl ( EditMode eEditMode) : IteratorImplBase (pDocument, rpViewShellWeak, bDirectionIsForward, ePageKind, eEditMode), mbPageChangeOccurred(false), - mpPage(nullptr), - mpObjectIterator(nullptr) + mpPage(nullptr) { SetPage (nPageIndex); } diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index 2b90c9b15252..607249f81023 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -522,7 +522,6 @@ ToolBarManager::Implementation::Implementation ( mbIsValid(false), maToolBarList(), maToolBarShellList(), - mxLayouter(nullptr), mnLockCount(0), mbPreUpdatePending(false), mbPostUpdatePending(false), diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index 54918ec30a42..97e34e69ccc7 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -188,7 +188,6 @@ OutlineViewShell::OutlineViewShell ( vcl::Window* pParentWindow, FrameView* pFrameViewArgument) : ViewShell(pParentWindow, rViewShellBase), - pOlView(nullptr), pLastPage( nullptr ), bPastePossible(false), mbInitialized(false) diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx index 1fe54a21146e..da65b1b355a3 100644 --- a/sd/source/ui/view/outlview.cxx +++ b/sd/source/ui/view/outlview.cxx @@ -84,7 +84,6 @@ OutlineView::OutlineView( DrawDocShell& rDocSh, vcl::Window* pWindow, OutlineVie , mnPagesToProcess(0) , mnPagesProcessed(0) , mbFirstPaint(true) -, mpProgress(nullptr) , maDocColor( COL_WHITE ) , maLRSpaceItem( 0, 0, 2000, 0, EE_PARA_OUTLLRSPACE ) { diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 527c1e06f2a1..30ea493b2732 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -113,9 +113,7 @@ View::View( mrDoc(rDrawDoc), mpDocSh(rDrawDoc.GetDocSh()), mpViewSh(pViewShell), - mpDragSrcMarkList(nullptr), mpDropMarkerObj(nullptr), - mpDropMarker(nullptr), mnDragSrcPgNum(SDRPAGE_NOTFOUND), mnAction(DND_ACTION_NONE), maDropErrorIdle("sd View DropError"), |