summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-05 18:47:50 +0800
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-02-05 21:40:30 +0400
commit9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c (patch)
treefcfff781b70e6423b5b5c32831eae1ca251be6b7 /sfx2/source/dialog
parent4fa8d043f8336e7b35130934498f8a4b357967d3 (diff)
Remove unused code
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r--sfx2/source/dialog/mailmodel.cxx5
-rw-r--r--sfx2/source/dialog/passwd.cxx9
-rw-r--r--sfx2/source/dialog/tabdlg.cxx11
3 files changed, 0 insertions, 25 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx
index 0284df0bb5f4..73723b4b2bdd 100644
--- a/sfx2/source/dialog/mailmodel.cxx
+++ b/sfx2/source/dialog/mailmodel.cxx
@@ -307,11 +307,6 @@ SfxMailModel::SaveResult SfxMailModel::ShowFilterOptionsDialog(
return eRet;
}
-sal_Int32 SfxMailModel::GetCount() const
-{
- return maAttachedDocuments.size();
-}
-
sal_Bool SfxMailModel::IsEmpty() const
{
return maAttachedDocuments.empty();
diff --git a/sfx2/source/dialog/passwd.cxx b/sfx2/source/dialog/passwd.cxx
index 98bcc1fe825f..d66d14281dfd 100644
--- a/sfx2/source/dialog/passwd.cxx
+++ b/sfx2/source/dialog/passwd.cxx
@@ -224,15 +224,6 @@ void SfxPasswordDialog::SetMinLen( sal_uInt16 nLen )
// -----------------------------------------------------------------------
-void SfxPasswordDialog::SetMaxLen( sal_uInt16 nLen )
-{
- maPasswordED.SetMaxTextLen( nLen );
- maConfirmED.SetMaxTextLen( nLen );
- EditModifyHdl( NULL );
-}
-
-// -----------------------------------------------------------------------
-
short SfxPasswordDialog::Execute()
{
maUserFT.Hide();
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index fece88584918..8fd76ed79929 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -620,17 +620,6 @@ void SfxTabDialog::SetApplyHandler(const Link& _rHdl)
// -----------------------------------------------------------------------
-Link SfxTabDialog::GetApplyHandler() const
-{
- DBG_ASSERT( pImpl->pApplyButton, "SfxTabDialog::GetApplyHandler: no button enabled!" );
- if ( !pImpl->pApplyButton )
- return Link();
-
- return pImpl->pApplyButton->GetClickHdl();
-}
-
-// -----------------------------------------------------------------------
-
void SfxTabDialog::EnableApplyButton(sal_Bool bEnable)
{
if ( IsApplyButtonEnabled() == bEnable )