summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/tabdlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-01 22:02:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-02 23:19:50 +0100
commitb48e2d958c905322ebd3219cc2141c7c2f0ce768 (patch)
tree6963d51820a0de52c3092495ca2c9a017190f29a /sfx2/source/dialog/tabdlg.cxx
parent799e9515c08b9cf71e9294b5a1e83ab9d26d4b30 (diff)
callcatcher: various unused methods
Diffstat (limited to 'sfx2/source/dialog/tabdlg.cxx')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx95
1 files changed, 0 insertions, 95 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 4afeb5ed11ad..738041f9fbef 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -514,41 +514,6 @@ SfxTabDialog::SfxTabDialog
DBG_WARNING( "Please use the Construtor with the ViewFrame" );
}
-SfxTabDialog::SfxTabDialog
-
-/* [Description]
-
- Constructor, temporary without Frame
-*/
-
-(
- Window* pParent, // Parent Window
- const ResId& rResId, // ResourceId
- sal_uInt16 nSetId,
- SfxBindings& rBindings,
- sal_Bool bEditFmt, // Flag: templates are processed
- // when yes -> additional Button for standard
- const String* pUserButtonText // Text for UserButton;
- // if != 0, the UserButton is created
-) :
- TabDialog( pParent, rResId ),
- pFrame( 0 ),
- INI_LIST(NULL)
-{
- rBindings.ENTERREGISTRATIONS();
- pImpl->pController = new SfxTabDialogController( nSetId, rBindings, this );
- rBindings.LEAVEREGISTRATIONS();
-
- EnableApplyButton( sal_True );
- SetApplyHandler( LINK( pImpl->pController, SfxTabDialogController, Execute_Impl ) );
-
- rBindings.Invalidate( nSetId );
- rBindings.Update( nSetId );
- DBG_ASSERT( pSet, "No ItemSet!" );
-
- Init_Impl( bFmt, pUserButtonText );
-}
-
// -----------------------------------------------------------------------
#if ENABLE_LAYOUT_SFX_TABDIALOG
@@ -779,20 +744,6 @@ sal_Bool SfxTabDialog::IsApplyButtonEnabled() const
// -----------------------------------------------------------------------
-const PushButton* SfxTabDialog::GetApplyButton() const
-{
- return pImpl->pApplyButton;
-}
-
-// -----------------------------------------------------------------------
-
-PushButton* SfxTabDialog::GetApplyButton()
-{
- return pImpl->pApplyButton;
-}
-
-// -----------------------------------------------------------------------
-
void SfxTabDialog::Start_Impl()
{
DBG_ASSERT( pImpl->pData->Count() == aTabCtrl.GetPageCount(), "not all pages registered" );
@@ -1518,52 +1469,6 @@ IMPL_LINK( SfxTabDialog, DeactivatePageHdl, TabControl *, pTabCtrl )
// -----------------------------------------------------------------------
-const SfxItemSet* SfxTabDialog::GetOutputItemSet
-
-/* [Description]
-
- Return the pages that provide their sets onDemand, the OutputItemSet.
-
- [Cross-reference]
-
- <SfxTabDialog::AddTabPage(sal_uInt16, CreateTabPage, GetTabPageRanges, sal_Bool)>
- <SfxTabDialog::AddTabPage(sal_uInt16, const String &, CreateTabPage, GetTabPageRanges, sal_Bool, sal_uInt16)>
- <SfxTabDialog::AddTabPage(sal_uInt16, const Bitmap &, CreateTabPage, GetTabPageRanges, sal_Bool, sal_uInt16)>
-*/
-
-(
- sal_uInt16 nId // the Id, under which the page was added at AddTabPage().
-) const
-{
- Data_Impl* pDataObject = Find( *pImpl->pData, nId );
- DBG_ASSERT( pDataObject, "TabPage not found" );
-
- if ( pDataObject )
- {
- if ( !pDataObject->pTabPage )
- return NULL;
-
- if ( pDataObject->bOnDemand )
- return &pDataObject->pTabPage->GetItemSet();
- return pOutSet;
- }
- return NULL;
-}
-
-// -----------------------------------------------------------------------
-
-int SfxTabDialog::FillOutputItemSet()
-{
- int nRet = SfxTabPage::LEAVE_PAGE;
- if ( OK_Impl() )
- Ok();
- else
- nRet = SfxTabPage::KEEP_PAGE;
- return nRet;
-}
-
-// -----------------------------------------------------------------------
-
extern "C" int SAL_CALL TabDlgCmpUS_Impl( const void* p1, const void* p2 )
/* [Description]