[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 9 07:56:31 UTC 2019
sc/source/ui/pagedlg/scuitphfedit.cxx | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 27af142c0d96d70a7ed7beb9d91c95c2fc3c34bb
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Apr 8 14:53:19 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Apr 9 09:56:07 2019 +0200
MenuButton Click Handler used to be overwritten by the Menu Handler
Change-Id: I0f442efa9e69923fc412a5c1b737dfbc7662c6a5
Reviewed-on: https://gerrit.libreoffice.org/70426
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index d49f37f8c962..21dc3a474c20 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -95,7 +95,6 @@ ScHFEditPage::ScHFEditPage(TabPageParent pParent,
m_xBtnLastPage->connect_clicked( LINK( this, ScHFEditPage, ClickHdl ) );
m_xBtnDate->connect_clicked( LINK( this, ScHFEditPage, ClickHdl ) );
m_xBtnTime->connect_clicked( LINK( this, ScHFEditPage, ClickHdl ) );
- m_xBtnFile->connect_clicked( LINK( this, ScHFEditPage, ClickHdl ) );
m_xBtnTable->connect_clicked( LINK( this, ScHFEditPage, ClickHdl ) );
m_xFtDefinedHF->show();
@@ -755,10 +754,6 @@ IMPL_LINK( ScHFEditPage, ClickHdl, weld::Button&, rBtn, void )
m_pEditFocus->InsertField(SvxFieldItem(SvxDateField(Date(Date::SYSTEM),SvxDateType::Var), EE_FEATURE_FIELD));
else if ( &rBtn == m_xBtnTime.get() )
m_pEditFocus->InsertField(SvxFieldItem(SvxTimeField(), EE_FEATURE_FIELD));
- else if ( &rBtn == m_xBtnFile.get() )
- {
- m_pEditFocus->InsertField(SvxFieldItem(SvxFileField(), EE_FEATURE_FIELD));
- }
else if ( &rBtn == m_xBtnTable.get() )
m_pEditFocus->InsertField(SvxFieldItem(SvxTableField(), EE_FEATURE_FIELD));
}
More information about the Libreoffice-commits
mailing list