summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-08 14:52:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-08 19:28:19 +0200
commit8dc6c96a8036f80c3ba016ea347ce2f83daa9726 (patch)
tree0e53fb33114b21b5f1942fee3b727efea79bb65d /forms
parent9212fadc4d421148e1a3f8b668d82a93f65cc2c3 (diff)
loplugin:simplifyconstruct in filter..framework
Change-Id: Ida4307a92dfb1dbd14da5a30b6ee1f0fd6a9455e Reviewed-on: https://gerrit.libreoffice.org/60194 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/DatabaseForm.cxx2
-rw-r--r--forms/source/component/clickableimage.cxx2
-rw-r--r--forms/source/component/imgprod.cxx3
-rw-r--r--forms/source/component/propertybaghelper.cxx1
-rw-r--r--forms/source/richtext/richtextimplcontrol.cxx1
-rw-r--r--forms/source/richtext/richtextvclcontrol.cxx1
-rw-r--r--forms/source/richtext/rtattributes.hxx9
7 files changed, 4 insertions, 15 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 8c7f9a227774..afdd2a5e78a3 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -240,7 +240,6 @@ ODatabaseForm::ODatabaseForm(const Reference<XComponentContext>& _rxContext)
,m_aPropertyBagHelper( *this )
,m_aParameterManager( m_aMutex, _rxContext )
,m_aFilterManager()
- ,m_pLoadTimer(nullptr)
,m_nResetsPending(0)
,m_nPrivileges(0)
,m_bInsertOnly( false )
@@ -275,7 +274,6 @@ ODatabaseForm::ODatabaseForm( const ODatabaseForm& _cloneSource )
,m_aPropertyBagHelper( *this )
,m_aParameterManager( m_aMutex, _cloneSource.m_xContext )
,m_aFilterManager()
- ,m_pLoadTimer( nullptr )
,m_nResetsPending( 0 )
,m_nPrivileges( 0 )
,m_bInsertOnly( _cloneSource.m_bInsertOnly )
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index b90eaf799208..c328e4241958 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -450,7 +450,6 @@ namespace frm
:OControlModel( _rxFactory, _rUnoControlModelTypeName, rDefault )
,OPropertyChangeListener(m_aMutex)
,m_xGraphicObject()
- ,m_pMedium(nullptr)
,m_bDispatchUrlInternal(false)
,m_bProdStarted(false)
{
@@ -463,7 +462,6 @@ namespace frm
:OControlModel( _pOriginal, _rxFactory )
,OPropertyChangeListener( m_aMutex )
,m_xGraphicObject( _pOriginal->m_xGraphicObject )
- ,m_pMedium( nullptr )
,m_bDispatchUrlInternal(false)
,m_bProdStarted( false )
{
diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx
index 9e2700f0b971..0807ffdac6e8 100644
--- a/forms/source/component/imgprod.cxx
+++ b/forms/source/component/imgprod.cxx
@@ -157,8 +157,7 @@ ErrCode ImgProdLockBytes::Stat( SvLockBytesStat* pStat, SvLockBytesStatFlag eFla
ImageProducer::ImageProducer()
- : mpStm(nullptr)
- , mnTransIndex(0)
+ : mnTransIndex(0)
, mbConsInit(false)
{
mpGraphic.reset( new Graphic );
diff --git a/forms/source/component/propertybaghelper.cxx b/forms/source/component/propertybaghelper.cxx
index 30958a54b151..f88c68abc35d 100644
--- a/forms/source/component/propertybaghelper.cxx
+++ b/forms/source/component/propertybaghelper.cxx
@@ -72,7 +72,6 @@ namespace frm
PropertyBagHelper::PropertyBagHelper( IPropertyBagHelperContext& _rContext )
:m_rContext( _rContext )
- ,m_pPropertyArrayHelper( nullptr )
,m_bDisposed( false )
{
}
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx
index 0fc975a278cc..4ab753f040c7 100644
--- a/forms/source/richtext/richtextimplcontrol.cxx
+++ b/forms/source/richtext/richtextimplcontrol.cxx
@@ -49,7 +49,6 @@ namespace frm
,m_pVScroll ( nullptr )
,m_pScrollCorner ( nullptr )
,m_pEngine ( _pEngine )
- ,m_pView ( nullptr )
,m_pTextAttrListener ( _pTextAttrListener )
,m_pSelectionListener ( _pSelectionListener )
,m_bHasEverBeenShown ( false )
diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx
index e5f0848eebf4..dbfa228d7c14 100644
--- a/forms/source/richtext/richtextvclcontrol.cxx
+++ b/forms/source/richtext/richtextvclcontrol.cxx
@@ -43,7 +43,6 @@ namespace frm
RichTextControl::RichTextControl( RichTextEngine* _pEngine, vcl::Window* _pParent, WinBits _nStyle,
ITextAttributeListener* _pTextAttribListener, ITextSelectionListener* _pSelectionListener )
:Control( _pParent, implInitStyle( _nStyle ) )
- ,m_pImpl( nullptr )
{
implInit( _pEngine, _pTextAttribListener, _pSelectionListener );
}
diff --git a/forms/source/richtext/rtattributes.hxx b/forms/source/richtext/rtattributes.hxx
index 6c166b240bbf..fc514580a64a 100644
--- a/forms/source/richtext/rtattributes.hxx
+++ b/forms/source/richtext/rtattributes.hxx
@@ -61,20 +61,17 @@ namespace frm
};
inline AttributeState::AttributeState( )
- :pItemHandleItem ( nullptr )
- ,eSimpleState( eIndetermined )
+ :eSimpleState( eIndetermined )
{
}
inline AttributeState::AttributeState( AttributeCheckState _eCheckState )
- :pItemHandleItem ( nullptr )
- ,eSimpleState( _eCheckState )
+ :eSimpleState( _eCheckState )
{
}
inline AttributeState::AttributeState( const AttributeState& _rSource )
- :pItemHandleItem ( nullptr )
- ,eSimpleState( eIndetermined )
+ :eSimpleState( eIndetermined )
{
operator=( _rSource );
}