From 67aa60007e80104969e2b634ff1a07fd96f55248 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 9 Jun 2012 05:25:34 +0200 Subject: remove dead code Change-Id: I1323fc4e283e9112cceea3acc759a6e0fb4efcb4 --- sc/source/ui/docshell/olinefun.cxx | 12 ------------ sc/source/ui/undo/undoblk.cxx | 5 ----- sc/source/ui/view/viewfun4.cxx | 6 ------ 3 files changed, 23 deletions(-) diff --git a/sc/source/ui/docshell/olinefun.cxx b/sc/source/ui/docshell/olinefun.cxx index 19db042dce48..455bc56759b2 100644 --- a/sc/source/ui/docshell/olinefun.cxx +++ b/sc/source/ui/docshell/olinefun.cxx @@ -689,8 +689,6 @@ sal_Bool ScOutlineDocFunc::ShowOutline( SCTAB nTab, sal_Bool bColumns, sal_uInt1 bColumns, nLevel, nEntry, sal_True ) ); } -//! HideCursor(); - pDoc->IncSizeRecalcLevel( nTab ); pDoc->InitializeNoteCaptions(nTab); @@ -736,12 +734,8 @@ sal_Bool ScOutlineDocFunc::ShowOutline( SCTAB nTab, sal_Bool bColumns, sal_uInt1 if (bPaint) lcl_PaintWidthHeight( rDocShell, nTab, bColumns, nStart, nEnd ); -//! ShowCursor(); rDocShell.SetDocumentModified(); -//! if (bPaint) -//! UpdateScrollBars(); - lcl_InvalidateOutliner( rDocShell.GetViewBindings() ); return sal_True; //! immer ??? @@ -782,8 +776,6 @@ sal_Bool ScOutlineDocFunc::HideOutline( SCTAB nTab, sal_Bool bColumns, sal_uInt1 bColumns, nLevel, nEntry, false ) ); } -//! HideCursor(); - pDoc->IncSizeRecalcLevel( nTab ); pDoc->InitializeNoteCaptions(nTab); @@ -805,12 +797,8 @@ sal_Bool ScOutlineDocFunc::HideOutline( SCTAB nTab, sal_Bool bColumns, sal_uInt1 if (bPaint) lcl_PaintWidthHeight( rDocShell, nTab, bColumns, nStart, nEnd ); -//! ShowCursor(); rDocShell.SetDocumentModified(); -//! if (bPaint) -//! UpdateScrollBars(); - lcl_InvalidateOutliner( rDocShell.GetViewBindings() ); return sal_True; //! immer ??? diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index b564a34593ff..b978a5ce65f7 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -735,11 +735,6 @@ void ScUndoDeleteMulti::Redo() DoChange(); -//! Markierung loeschen, derzeit unnoetig (s.o.) -//! ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); -//! if (pViewShell) -//! DoneBlockMode(); - EndRedo(); SFX_APP()->Broadcast( SfxSimpleHint( SC_HINT_AREALINKS_CHANGED ) ); } diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index c78374200997..7a887d5cf18f 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -354,12 +354,6 @@ void ScViewFunc::DoThesaurus( sal_Bool bRecord ) com::sun::star::uno::Reference xSpeller = LinguMgr::GetSpellChecker(); - //! if (...) // thesaurus not available - //! { - //! ErrorMessage(STR_EXPORT_ASCII_WARNING); - //! delete pEditSel; - //! return; - //! } pThesaurusEngine = new ScEditEngineDefaulter( pDoc->GetEnginePool() ); pThesaurusEngine->SetEditTextObjectPool( pDoc->GetEditPool() ); -- cgit