sc/source/core/tool/rangelst.cxx   |    4 ----
 sc/source/ui/docshell/olinefun.cxx |   12 ------------
 sc/source/ui/pagedlg/tphfedit.cxx  |    5 -----
 sc/source/ui/undo/undoblk.cxx      |    5 -----
 sc/source/ui/view/cellsh4.cxx      |    5 -----
 sc/source/ui/view/olkact.cxx       |    5 -----
 sc/source/ui/view/tabvwshd.cxx     |    5 -----
 sc/source/ui/view/viewfun3.cxx     |    5 -----
 sc/source/ui/view/viewfun4.cxx     |    6 ------
 svl/source/items/dateitem.cxx      |    3 ---
 svx/source/items/hlnkitem.cxx      |    2 --
 svx/source/items/postattr.cxx      |    3 ---
 tools/source/string/strascii.cxx   |    3 ---
 13 files changed, 63 deletions(-)

New commits:
commit 24aa9c16b8e37d63d120901ed04846190490abba
Author: Thomas Arnhold <tho...@arnhold.org>
Date:   Sat Jun 9 05:54:42 2012 +0200

    Remove superfluous include comments
    
    Change-Id: Id738692aab2043755eb8f051dd8ab9e13051553a

diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx
index 16f9eca..d2bdec3 100644
--- a/sc/source/core/tool/rangelst.cxx
+++ b/sc/source/core/tool/rangelst.cxx
@@ -26,10 +26,6 @@
  *
  ************************************************************************/
 
-
-
-//------------------------------------------------------------------------
-
 #define SC_RANGELST_CXX         //fuer ICC
 
 #include <stdlib.h>             // qsort
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx 
b/sc/source/ui/pagedlg/tphfedit.cxx
index 9154152..19925a2 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -26,11 +26,6 @@
  *
  ************************************************************************/
 
-
-
-
-//------------------------------------------------------------------
-
 #define _TPHFEDIT_CXX
 #include "scitems.hxx"
 #include <editeng/eeitem.hxx>
diff --git a/sc/source/ui/view/cellsh4.cxx b/sc/source/ui/view/cellsh4.cxx
index d9b1d2d..8b00066 100644
--- a/sc/source/ui/view/cellsh4.cxx
+++ b/sc/source/ui/view/cellsh4.cxx
@@ -26,11 +26,6 @@
  *
  ************************************************************************/
 
-
-
-
-//------------------------------------------------------------------
-
 #ifdef _MSC_VER
 #pragma optimize ("", off)
 #endif
diff --git a/sc/source/ui/view/olkact.cxx b/sc/source/ui/view/olkact.cxx
index 363fe6c..7175b24 100644
--- a/sc/source/ui/view/olkact.cxx
+++ b/sc/source/ui/view/olkact.cxx
@@ -26,11 +26,6 @@
  *
  ************************************************************************/
 
-
-
-
-//------------------------------------------------------------------
-
 #define _BIGINT_HXX
 #define _CACHESTR_HXX
 #define _CONFIG_HXX
diff --git a/sc/source/ui/view/tabvwshd.cxx b/sc/source/ui/view/tabvwshd.cxx
index db4a498..db83823 100644
--- a/sc/source/ui/view/tabvwshd.cxx
+++ b/sc/source/ui/view/tabvwshd.cxx
@@ -26,11 +26,6 @@
  *
  ************************************************************************/
 
-
-
-
-//------------------------------------------------------------------
-
 #ifdef _MSC_VER
 #pragma optimize ("", off)
 #endif
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index c69aaae..77efccc 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -26,11 +26,6 @@
  *
  ************************************************************************/
 
-
-
-
-//----------------------------------------------------------------------------
-
 #define _SV_NOXSOUND
 
 #define _BASE_DLGS_HXX
diff --git a/svl/source/items/dateitem.cxx b/svl/source/items/dateitem.cxx
index 6acecbd..8d06d45 100644
--- a/svl/source/items/dateitem.cxx
+++ b/svl/source/items/dateitem.cxx
@@ -26,9 +26,6 @@
  *
  ************************************************************************/
 
-
-// include ---------------------------------------------------------------
-
 #define _DATETIMEITEM_CXX
 #include <svl/dateitem.hxx>
 #include <svl/svl.hrc>
diff --git a/svx/source/items/hlnkitem.cxx b/svx/source/items/hlnkitem.cxx
index bb1abb2..247ef7c 100644
--- a/svx/source/items/hlnkitem.cxx
+++ b/svx/source/items/hlnkitem.cxx
@@ -26,8 +26,6 @@
  *
  ************************************************************************/
 
-
-// include ---------------------------------------------------------------
 #define _SVX_HLNKITEM_CXX
 
 #include <svx/svxids.hrc>
diff --git a/svx/source/items/postattr.cxx b/svx/source/items/postattr.cxx
index fc7e0aa..c925ee2 100644
--- a/svx/source/items/postattr.cxx
+++ b/svx/source/items/postattr.cxx
@@ -26,9 +26,6 @@
  *
  ************************************************************************/
 
-
-// include ---------------------------------------------------------------
-
 #define _SVX_POSTATTR_CXX
 #include "svx/postattr.hxx"
 #include <editeng/itemtype.hxx>
diff --git a/tools/source/string/strascii.cxx b/tools/source/string/strascii.cxx
index 9360efc..abc7bc2 100644
--- a/tools/source/string/strascii.cxx
+++ b/tools/source/string/strascii.cxx
@@ -26,9 +26,6 @@
  *
  ************************************************************************/
 
-
-// =======================================================================
-
 #ifdef DBG_UTIL
 
 static sal_Bool ImplDbgCheckAsciiStr( const sal_Char* pAsciiStr, sal_Int32 
nLen )
commit 67aa60007e80104969e2b634ff1a07fd96f55248
Author: Thomas Arnhold <tho...@arnhold.org>
Date:   Sat Jun 9 05:25:34 2012 +0200

    remove dead code
    
    Change-Id: I1323fc4e283e9112cceea3acc759a6e0fb4efcb4

diff --git a/sc/source/ui/docshell/olinefun.cxx 
b/sc/source/ui/docshell/olinefun.cxx
index 19db042..455bc56 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 b564a34..b978a5c 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 c783742..7a887d5 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() );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to