summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-12 09:37:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-12 12:24:13 +0200
commit3af36642f1b703b698fe2d53e8c064233dd64de8 (patch)
treee9c0c84e82aa2b60484dd020be53beacba0ed47b /sw/source/uibase/uiview
parenta170f5c4a53f6a02ce9d7bb7458e3677c0d69ad3 (diff)
loplugin:simplifyconstruct in sw
Change-Id: I17c9009637edc04d9d06fa9a0bd19572eefd4fe8 Reviewed-on: https://gerrit.libreoffice.org/60370 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r--sw/source/uibase/uiview/srcview.cxx1
-rw-r--r--sw/source/uibase/uiview/uivwimp.cxx2
-rw-r--r--sw/source/uibase/uiview/view.cxx4
3 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx
index 7160f1ec66cb..a2b0383922ff 100644
--- a/sw/source/uibase/uiview/srcview.cxx
+++ b/sw/source/uibase/uiview/srcview.cxx
@@ -211,7 +211,6 @@ static OUString lcl_ConvertTabsToSpaces( const OUString& sLine )
SwSrcView::SwSrcView(SfxViewFrame* pViewFrame, SfxViewShell*) :
SfxViewShell( pViewFrame, SWSRCVIEWFLAGS ),
aEditWin( VclPtr<SwSrcEditWindow>::Create( &pViewFrame->GetWindow(), this ) ),
- pSearchItem(nullptr),
bSourceSaved(false),
eLoadEncoding(RTL_TEXTENCODING_DONTKNOW)
{
diff --git a/sw/source/uibase/uiview/uivwimp.cxx b/sw/source/uibase/uiview/uivwimp.cxx
index e36cbc5c963d..69ee63b9daa4 100644
--- a/sw/source/uibase/uiview/uivwimp.cxx
+++ b/sw/source/uibase/uiview/uivwimp.cxx
@@ -53,8 +53,6 @@ SwView_Impl::SwView_Impl(SwView* pShell)
: mxXTextView()
, pView(pShell)
, eShellMode(ShellMode::Text)
- , m_pDocInserter(nullptr)
- , m_pRequest(nullptr)
, m_nParam(0)
, m_bSelectObject(false)
, m_bEditingPositionSet(false)
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index 57feae4cbda3..0138ba9242e7 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -719,7 +719,6 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
m_nOldPageNum(0),
m_pNumRuleNodeFromDoc(nullptr),
m_pEditWin( VclPtr<SwEditWin>::Create( &_pFrame->GetWindow(), *this ) ),
- m_pWrtShell(nullptr),
m_pShell(nullptr),
m_pFormShell(nullptr),
m_pHScrollbar(nullptr),
@@ -731,11 +730,8 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
GetViewFrame()->GetBindings(),
WB_VSCROLL | WB_EXTRAFIELD | WB_BORDER )),
m_pTogglePageBtn(nullptr),
- m_pGlosHdl(nullptr),
- m_pDrawActual(nullptr),
m_pLastTableFormat(nullptr),
m_pFormatClipboard(new SwFormatClipboard()),
- m_pPostItMgr(nullptr),
m_nSelectionType( SelectionType::All ),
m_nPageCnt(0),
m_nDrawSfxId( USHRT_MAX ),