diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-11 12:36:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-11 18:17:58 +0200 |
commit | 83a962578f616ae4ff215fa782763f2045a20bcc (patch) | |
tree | 4286476b26081960248ea63752822d9589db6d0f /svtools/source/misc | |
parent | 591db0f97b6084723c138a01d5f336b1f1a3a639 (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/source/misc')
-rw-r--r-- | svtools/source/misc/embedhlp.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/templatefoldercache.cxx | 3 | ||||
-rw-r--r-- | svtools/source/misc/transfer2.cxx | 3 |
3 files changed, 2 insertions, 6 deletions
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 ) { } |