summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basides2.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-04 17:57:31 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-06 13:43:35 +0100
commitc710e982117b49893f1fc2be7fe96a51cc5dd6d0 (patch)
treee59bf533a3b5d9d67d125ef554a49c7110109d4e /basctl/source/basicide/basides2.cxx
parent93997fb7fa58ef343e9ac8bdc39eb761695114f6 (diff)
Remove lots of dead code
Diffstat (limited to 'basctl/source/basicide/basides2.cxx')
-rw-r--r--basctl/source/basicide/basides2.cxx37
1 files changed, 0 insertions, 37 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx
index e6ebf19f1..3e102277c 100644
--- a/basctl/source/basicide/basides2.cxx
+++ b/basctl/source/basicide/basides2.cxx
@@ -67,45 +67,11 @@ IMPL_LINK_INLINE_START( BasicIDEShell, ObjectDialogCancelHdl, ObjectCatalog *, E
}
IMPL_LINK_INLINE_END( BasicIDEShell, ObjectDialogCancelHdl, ObjectCatalog *, EMPTYARG )
-/*
-IMPL_LINK( BasicIDEShell, ObjectDialogInsertHdl, ObjectCatalog *, pObjCat )
-{
- if ( !pCurWin )
- return 0;
-
- if ( pCurWin->IsA( TYPE( ModulWindow ) ) )
- {
- ModulWindow* pEditWin = (ModulWindow*)pCurWin;
- pEditWin->InsertFromObjectCatalog( pObjCat );
- }
- else
- Sound::Beep();
-
- return 0;
-}
-*/
-
Reference< view::XRenderable > BasicIDEShell::GetRenderable()
{
return Reference< view::XRenderable >( new basicide::BasicRenderable( pCurWin ) );
}
-#if 0
-USHORT BasicIDEShell::Print( SfxProgress &rProgress, BOOL bIsAPI, PrintDialog *pPrintDialog )
-{
- if ( pCurWin )
- {
- SfxPrinter* pPrinter = GetPrinter( TRUE );
- if ( pPrinter )
- {
- SfxViewShell::Print( rProgress, bIsAPI, pPrintDialog );
- pCurWin->PrintData( pPrinter );
- }
- }
- return 0;
-}
-#endif
-
BOOL BasicIDEShell::HasSelection( BOOL /* bText */ ) const
{
BOOL bSel = FALSE;
@@ -128,10 +94,7 @@ String BasicIDEShell::GetSelectionText( BOOL bWholeWord )
{
if ( bWholeWord && !pEditView->HasSelection() )
{
- // String aStrCurrentDelimiters = pEngine->GetWordDelimiters();
- // pEngine->SetWordDelimiters( " .,;\"'" );
aText = pEditView->GetTextEngine()->GetWord( pEditView->GetSelection().GetEnd() );
- // pEngine->SetWordDelimiters( aStrCurrentDelimiters );
}
else
{