summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 12:36:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 18:17:58 +0200
commit83a962578f616ae4ff215fa782763f2045a20bcc (patch)
tree4286476b26081960248ea63752822d9589db6d0f /svtools
parent591db0f97b6084723c138a01d5f336b1f1a3a639 (diff)
loplugin:simplifyconstruct in svtools..svx
Change-Id: Ia20fac7cec01ac658a903f8b001807b2e72dbf3e Reviewed-on: https://gerrit.libreoffice.org/60316 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/imivctl1.cxx3
-rw-r--r--svtools/source/hatchwindow/documentcloser.cxx3
-rw-r--r--svtools/source/misc/embedhlp.cxx2
-rw-r--r--svtools/source/misc/templatefoldercache.cxx3
-rw-r--r--svtools/source/misc/transfer2.cxx3
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx1
6 files changed, 4 insertions, 11 deletions
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 46f68017fad2..cb54e36d0a73 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -99,8 +99,7 @@ SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl(
aDocRectChangedIdle ( "svtools contnr SvxIconChoiceCtrl_Impl DocRectChanged" ),
aVisRectChangedIdle ( "svtools contnr SvxIconChoiceCtrl_Impl VisRectChanged" ),
aCallSelectHdlIdle ( "svtools contnr SvxIconChoiceCtrl_Impl CallSelectHdl" ),
- aImageSize( 32 * pCurView->GetDPIScaleFactor(), 32 * pCurView->GetDPIScaleFactor()),
- m_pColumns( nullptr )
+ aImageSize( 32 * pCurView->GetDPIScaleFactor(), 32 * pCurView->GetDPIScaleFactor())
{
bChooseWithCursor = false;
pEntryPaintDev = nullptr;
diff --git a/svtools/source/hatchwindow/documentcloser.cxx b/svtools/source/hatchwindow/documentcloser.cxx
index 5f9d8b876823..69761b14eddd 100644
--- a/svtools/source/hatchwindow/documentcloser.cxx
+++ b/svtools/source/hatchwindow/documentcloser.cxx
@@ -141,8 +141,7 @@ IMPL_STATIC_LINK( MainThreadFrameCloserRequest, worker, void*, p, void )
}
ODocumentCloser::ODocumentCloser(const css::uno::Sequence< css::uno::Any >& aArguments)
-: m_pListenersContainer( nullptr )
-, m_bDisposed( false )
+: m_bDisposed( false )
{
::osl::MutexGuard aGuard( m_aMutex );
if ( !m_refCount )
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx
index bebf898596c7..1b3c87c2332c 100644
--- a/svtools/source/misc/embedhlp.cxx
+++ b/svtools/source/misc/embedhlp.cxx
@@ -236,7 +236,6 @@ struct EmbeddedObjectRef_Impl
EmbeddedObjectRef_Impl() :
pContainer(nullptr),
- pGraphic(nullptr),
nViewAspect(embed::Aspects::MSOLE_CONTENT),
bIsLocked(false),
bNeedUpdate(false),
@@ -250,7 +249,6 @@ struct EmbeddedObjectRef_Impl
aPersistName(r.aPersistName),
aMediaType(r.aMediaType),
pContainer(r.pContainer),
- pGraphic(nullptr),
nViewAspect(r.nViewAspect),
bIsLocked(r.bIsLocked),
bNeedUpdate(r.bNeedUpdate),
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index 23a9b299839a..2acefbc6e3cf 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -416,8 +416,7 @@ namespace svt
TemplateFolderCacheImpl::TemplateFolderCacheImpl( bool _bAutoStoreState )
- :m_pCacheStream ( nullptr )
- ,m_bNeedsUpdate ( true )
+ :m_bNeedsUpdate ( true )
,m_bKnowState ( false )
,m_bValidCurrentState ( false )
,m_bAutoStoreState ( _bAutoStoreState )
diff --git a/svtools/source/misc/transfer2.cxx b/svtools/source/misc/transfer2.cxx
index a550fba22130..5405ce9683a2 100644
--- a/svtools/source/misc/transfer2.cxx
+++ b/svtools/source/misc/transfer2.cxx
@@ -101,8 +101,7 @@ void DragSourceHelper::StartDrag( sal_Int8, const Point& )
DropTargetHelper::DropTargetListener::DropTargetListener( DropTargetHelper& rDropTargetHelper ) :
- mrParent( rDropTargetHelper ),
- mpLastDragOverEvent( nullptr )
+ mrParent( rDropTargetHelper )
{
}
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index 37434a04eaad..d11d57e377fb 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -140,7 +140,6 @@ TreeControlPeer::TreeControlPeer()
, mbIsRootDisplayed(false)
, mpTreeImpl( nullptr )
, mnEditLock( 0 )
- , mpTreeNodeMap( nullptr )
{
}