diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-23 15:43:34 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-24 06:45:07 +0000 |
commit | 24ca187b6370ca56c8acd92bc405028dd9deb5f2 (patch) | |
tree | 07fa9921bc8f6b101500e152fdad0b18b1d3397b /svtools/source/dialogs/ServerDetailsControls.cxx | |
parent | db12f068f849dc0e03d43ee6688ba342e985fa04 (diff) |
loplugin:singlevalfields in svtools
Change-Id: I80fe1d4646af2b8d8e6362a25f6cda4b7ac29eab
Reviewed-on: https://gerrit.libreoffice.org/26603
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools/source/dialogs/ServerDetailsControls.cxx')
-rw-r--r-- | svtools/source/dialogs/ServerDetailsControls.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx index 2fc608b7b4af..2e46c3438c61 100644 --- a/svtools/source/dialogs/ServerDetailsControls.cxx +++ b/svtools/source/dialogs/ServerDetailsControls.cxx @@ -32,8 +32,7 @@ using namespace com::sun::star::task; using namespace com::sun::star::ucb; using namespace com::sun::star::uno; -DetailsContainer::DetailsContainer( VclBuilderContainer* pBuilder ) : - m_bIsActive ( true ) +DetailsContainer::DetailsContainer( VclBuilderContainer* pBuilder ) { pBuilder->get( m_pDetailsGrid, "Details" ); pBuilder->get( m_pHostBox, "HostDetails" ); @@ -52,7 +51,7 @@ DetailsContainer::~DetailsContainer( ) void DetailsContainer::show( bool ) { - m_pDetailsGrid->Enable( m_bIsActive ); + m_pDetailsGrid->Enable(); m_pEDHost->SetModifyHdl( LINK( this, DetailsContainer, ValueChangeHdl ) ); m_pEDPort->SetModifyHdl( LINK( this, DetailsContainer, ValueChangeHdl ) ); |