[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 3 08:56:10 UTC 2020
sc/source/ui/dbgui/validate.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 7bcee97c48026b8cc41b5c83dd43ed8aa1cd205d
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Nov 2 17:28:26 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Nov 3 09:55:27 2020 +0100
duplicate redundant lines
Change-Id: I5766aee2a07879d3064387f72a87c38ce431e9be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105202
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx
index 74b9fff08716..c005f24375a7 100644
--- a/sc/source/ui/dbgui/validate.cxx
+++ b/sc/source/ui/dbgui/validate.cxx
@@ -389,11 +389,9 @@ ScTPValidationValue::ScTPValidationValue(weld::Container* pPage, weld::DialogCon
ScTPValidationValue::~ScTPValidationValue()
{
- m_xEdMin.reset();
m_xEdMin.reset();
m_xEdMax.reset();
m_xBtnRef.reset();
- m_xEdMax.reset();
}
void ScTPValidationValue::Init()
@@ -406,8 +404,8 @@ void ScTPValidationValue::Init()
m_xEdMin->SetGetFocusHdl( LINK( this, ScTPValidationValue, EditSetFocusHdl ) );
m_xEdMin->SetLoseFocusHdl( LINK( this, ScTPValidationValue, KillEditFocusHdl ) );
m_xEdMax->SetGetFocusHdl( LINK( this, ScTPValidationValue, EditSetFocusHdl ) );
- m_xBtnRef->SetLoseFocusHdl( LINK( this, ScTPValidationValue, KillButtonFocusHdl ) );
m_xEdMax->SetLoseFocusHdl( LINK( this, ScTPValidationValue, KillEditFocusHdl ) );
+ m_xBtnRef->SetLoseFocusHdl( LINK( this, ScTPValidationValue, KillButtonFocusHdl ) );
m_xLbAllow->set_active( SC_VALIDDLG_ALLOW_ANY );
m_xLbValue->set_active( SC_VALIDDLG_DATA_EQUAL );
More information about the Libreoffice-commits
mailing list