diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-04 17:57:31 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-06 13:43:35 +0100 |
commit | 50c26300e5b5ae9671f18a9e449516604d16105f (patch) | |
tree | e4f0cf83c41bbd70bbe6021f85b8e97815134f42 /basctl/source/basicide/basides2.cxx | |
parent | e78706a8bf35d8471982e36c4543f2db8a35f1c2 (diff) |
Remove lots of dead code
Diffstat (limited to 'basctl/source/basicide/basides2.cxx')
-rw-r--r-- | basctl/source/basicide/basides2.cxx | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index 850bd4e627e2..bea7cb64825c 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 { |