summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-09 05:25:34 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-06-09 05:25:34 +0200
commit67aa60007e80104969e2b634ff1a07fd96f55248 (patch)
tree9697c3c8b42037470d1a456af1d566da5b3e4c69
parentRemove superfluous empty lines on top (diff)
downloadcore-67aa60007e80104969e2b634ff1a07fd96f55248.tar.gz
core-67aa60007e80104969e2b634ff1a07fd96f55248.zip
remove dead code
Change-Id: I1323fc4e283e9112cceea3acc759a6e0fb4efcb4
-rw-r--r--sc/source/ui/docshell/olinefun.cxx12
-rw-r--r--sc/source/ui/undo/undoblk.cxx5
-rw-r--r--sc/source/ui/view/viewfun4.cxx6
3 files changed, 0 insertions, 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<com::sun::star::linguistic2::XSpellChecker1>
xSpeller = LinguMgr::GetSpellChecker();
- //! if (...) // thesaurus not available
- //! {
- //! ErrorMessage(STR_EXPORT_ASCII_WARNING);
- //! delete pEditSel;
- //! return;
- //! }
pThesaurusEngine = new ScEditEngineDefaulter( pDoc->GetEnginePool() );
pThesaurusEngine->SetEditTextObjectPool( pDoc->GetEditPool() );