[PATCH 4/7] Removed some dead lines, dates and commit notes. Thanks to liuchen, limingl, minz at cn.ibm.com and Amelia Wang for their commits!

Thomas Arnhold thomas at arnhold.org
Mon Jan 17 09:34:27 PST 2011


---
 sc/inc/viewuno.hxx                  |    4 +--
 sc/source/ui/dbgui/expftext.cxx     |    4 +-
 sc/source/ui/dbgui/tpsort.cxx       |    1 -
 sc/source/ui/formdlg/dwfunctr.cxx   |   46 ++++++++++++++++----------------
 sc/source/ui/formdlg/privsplt.cxx   |   16 ++++++------
 sc/source/ui/inc/dbnamdlg.hxx       |    2 +-
 sc/source/ui/miscdlgs/crnrdlg.cxx   |   48 ++++++++++++++++-------------------
 sc/source/ui/navipi/navipi.cxx      |   21 ---------------
 sc/source/ui/undo/undobase.cxx      |   22 ----------------
 sc/source/ui/unoobj/viewuno.cxx     |    2 +-
 sc/source/ui/vba/vbaapplication.cxx |   35 ++++++++----------------
 sc/source/ui/vba/vbaapplication.hxx |   18 ++++++-------
 sc/source/ui/vba/vbadialog.cxx      |    3 --
 sc/source/ui/vba/vbadialog.hxx      |    1 -
 sc/source/ui/vba/vbadialogs.cxx     |    1 -
 sc/source/ui/vba/vbadialogs.hxx     |    2 +-
 sc/source/ui/vba/vbafilesearch.cxx  |    2 +-
 sc/source/ui/vba/vbaname.cxx        |    2 -
 sc/source/ui/vba/vbapagebreaks.cxx  |    4 +-
 sc/source/ui/vba/vbapagesetup.cxx   |    2 -
 sc/source/ui/vba/vbapagesetup.hxx   |    4 +-
 sc/source/ui/vba/vbarange.cxx       |   18 ++++--------
 sc/source/ui/vba/vbarange.hxx       |    8 +++---
 sc/source/ui/vba/vbavalidation.cxx  |    4 +-
 sc/source/ui/vba/vbaworkbook.cxx    |   13 ++++-----
 sc/source/ui/vba/vbaworksheet.cxx   |   13 ++++-----
 sc/source/ui/vba/vbaworksheet.hxx   |    2 +-
 27 files changed, 109 insertions(+), 189 deletions(-)

diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index b2ed11b..68b0efb 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -315,13 +315,11 @@ public:
                                 ::com::sun::star::sheet::XSpreadsheet >& xActiveSheet )
                                     throw(::com::sun::star::uno::RuntimeException);
 
-    //liuchen 2009-9-2 support expand (but not replace) the active sheet
+    // support expand (but not replace) the active sheet
     virtual void SAL_CALL	selectSheet( const ::com::sun::star::uno::Reference<
                                     ::com::sun::star::sheet::XSpreadsheet >& xActiveSheet,
                                     sal_Bool bExpand)
                                         throw(::com::sun::star::uno::RuntimeException);
-    //liuchen 2009-9-2
-
                             //XEnhancedMouseClickBroadcaster
 
     virtual void SAL_CALL addEnhancedMouseClickHandler( const ::com::sun::star::uno::Reference<
diff --git a/sc/source/ui/dbgui/expftext.cxx b/sc/source/ui/dbgui/expftext.cxx
index 01a6610..a496f55 100644
--- a/sc/source/ui/dbgui/expftext.cxx
+++ b/sc/source/ui/dbgui/expftext.cxx
@@ -35,7 +35,7 @@
 #include <vcl/help.hxx>
 
 /*************************************************************************
-#*	Member:		ScExpandedFixedText							Datum:18.09.97
+#*	Member:		ScExpandedFixedText
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		MD_Test
@@ -56,7 +56,7 @@ ScExpandedFixedText::ScExpandedFixedText( Window* pParent,
 }
 
 /*************************************************************************
-#*	Member:		RequestHelp									Datum:18.09.97
+#*	Member:		RequestHelp
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScExpandedFixedText
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index 517a9b5..4caa08c 100644
--- a/sc/source/ui/dbgui/tpsort.cxx
+++ b/sc/source/ui/dbgui/tpsort.cxx
@@ -81,7 +81,6 @@ static USHORT pSortRanges[] =
  * geloest. Wird eine Seite Aktiviert/Deaktiviert, so gleicht sie diese
  * Datenmember mit dem eigenen Zustand ab (->Activate()/Deactivate()).
  *
- * 31.01.95:
  * Die Klasse SfxTabPage bietet mittlerweile ein Verfahren an:
  *
  * virtual BOOL HasExchangeSupport() const; -> return TRUE;
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index 830de28..c3f9897 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -60,7 +60,7 @@
 SFX_IMPL_DOCKINGWINDOW( ScFunctionChildWindow, FID_FUNCTION_BOX )
 
 /*************************************************************************
-#*	Member:		ScFunctionChildWindow						Datum:06.10.97
+#*	Member:		ScFunctionChildWindow
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionChildWindow
@@ -91,7 +91,7 @@ ScFunctionChildWindow::ScFunctionChildWindow( Window* pParentP,
 }
 
 /*************************************************************************
-#*	Member:		ScFunctionDockWin							Datum:06.10.97
+#*	Member:		ScFunctionDockWin
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -168,7 +168,7 @@ ScFunctionDockWin::ScFunctionDockWin( SfxBindings* pBindingsP,
 }
 
 /*************************************************************************
-#*	Member:		ScFunctionDockWin							Datum:06.10.97
+#*	Member:		ScFunctionDockWin
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -187,7 +187,7 @@ ScFunctionDockWin::~ScFunctionDockWin()
 }
 
 /*************************************************************************
-#*	Member:		UpdateFunctionList							Datum:06.10.97
+#*	Member:		UpdateFunctionList
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -225,7 +225,7 @@ void ScFunctionDockWin::InitLRUList()
 }
 
 /*************************************************************************
-#*	Member:		UpdateFunctionList							Datum:10.12.99
+#*	Member:		UpdateFunctionList
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -249,7 +249,7 @@ void ScFunctionDockWin::UpdateLRUList()
 
 
 /*************************************************************************
-#*	Member:		SetSize										Datum:06.10.97
+#*	Member:		SetSize
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -326,7 +326,7 @@ void ScFunctionDockWin::SetSize()
     }
 }
 /*************************************************************************
-#*	Member:		SetLeftRightSize							Datum:15.10.97
+#*	Member:		SetLeftRightSize
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -374,7 +374,7 @@ void ScFunctionDockWin::SetLeftRightSize()
 
 }
 /*************************************************************************
-#*	Member:		SetTopBottonSize							Datum:15.10.97
+#*	Member:		SetTopBottonSize
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -408,7 +408,7 @@ void ScFunctionDockWin::SetTopBottonSize()
 }
 
 /*************************************************************************
-#*	Member:		SetMyWidthLeRi								Datum:15.10.97
+#*	Member:		SetMyWidthLeRi
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -448,7 +448,7 @@ void ScFunctionDockWin::SetMyWidthLeRi(Size &aNewSize)
 }
 
 /*************************************************************************
-#*	Member:		SetHeight									Datum:06.10.97
+#*	Member:		SetHeight
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -496,7 +496,7 @@ void ScFunctionDockWin::SetMyHeightLeRi(Size &aNewSize)
 }
 
 /*************************************************************************
-#*	Member:		SetMyWidthToBo								Datum:16.10.97
+#*	Member:		SetMyWidthToBo
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -537,7 +537,7 @@ void ScFunctionDockWin::SetMyWidthToBo(Size &aNewSize)
 }
 
 /*************************************************************************
-#*	Member:		SetHeight									Datum:16.10.97
+#*	Member:		SetHeight
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -566,7 +566,7 @@ void ScFunctionDockWin::SetMyHeightToBo(Size &aNewSize)
 }
 
 /*************************************************************************
-#*	Member:		SetDescription								Datum:13.10.97
+#*	Member:		SetDescription
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -621,7 +621,7 @@ void ScFunctionDockWin::SetDescription()
  }
 
 /*************************************************************************
-#*	Member:		Resizing									Datum:06.10.97
+#*	Member:		Resizing
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -643,7 +643,7 @@ void ScFunctionDockWin::Resizing( Size& rNewSize )
 }
 
 /*************************************************************************
-#*	Member:		Close										Datum:07.10.97
+#*	Member:		Close
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -671,7 +671,7 @@ BOOL ScFunctionDockWin::Close()
 
 
 /*************************************************************************
-#*	Member:		CheckAlignment								Datum:16.10.97
+#*	Member:		CheckAlignment
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -734,7 +734,7 @@ SfxChildAlignment ScFunctionDockWin::CheckAlignment(SfxChildAlignment /* abla */
     return aChildAlign;
 }
 /*************************************************************************
-#*	Member:		Close										Datum:07.10.97
+#*	Member:		Close
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -762,7 +762,7 @@ void ScFunctionDockWin::Notify( SfxBroadcaster&, const SfxHint& /* rHint */ )
 
 
 /*************************************************************************
-#*	Member:		Resize									Datum:06.10.97
+#*	Member:		Resize
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -789,7 +789,7 @@ void ScFunctionDockWin::Resize()
 }
 
 /*************************************************************************
-#*	Member:		UpdateFunctionList							Datum:06.10.97
+#*	Member:		UpdateFunctionList
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -852,7 +852,7 @@ void ScFunctionDockWin::UpdateFunctionList()
 }
 
 /*************************************************************************
-#*	Member:		DoEnter										Datum:06.10.97
+#*	Member:		DoEnter
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -968,7 +968,7 @@ void ScFunctionDockWin::DoEnter(BOOL /* bOk */) //@@ ???
 
 
 /*************************************************************************
-#*	Handle:		SelHdl										Datum:06.10.97
+#*	Handle:		SelHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -1001,7 +1001,7 @@ IMPL_LINK( ScFunctionDockWin, SelHdl, ListBox*, pLb )
 }
 
 /*************************************************************************
-#*	Handle:		SelHdl										Datum:06.10.97
+#*	Handle:		SelHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
@@ -1028,7 +1028,7 @@ IMPL_LINK( ScFunctionDockWin, SetSelectionHdl, void*, pCtrl )
 }
 
 /*************************************************************************
-#*	Handle:		SetSplitHdl									Datum:13.10.97
+#*	Handle:		SetSplitHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScFunctionDockWin
diff --git a/sc/source/ui/formdlg/privsplt.cxx b/sc/source/ui/formdlg/privsplt.cxx
index e8b0955..696873e 100644
--- a/sc/source/ui/formdlg/privsplt.cxx
+++ b/sc/source/ui/formdlg/privsplt.cxx
@@ -34,7 +34,7 @@
 #include "privsplt.hxx"
 
 /*************************************************************************
-#*	Member:		ScPrivatSplit								Datum:13.10.97
+#*	Member:		ScPrivatSplit
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		MD_Test
@@ -78,7 +78,7 @@ ScPrivatSplit::ScPrivatSplit( Window* pParent, const ResId& rResId,
 
 
 /*************************************************************************
-#*	Member:		MouseButtonDown							Datum:13.10.97
+#*	Member:		MouseButtonDown
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScPrivatSplit
@@ -103,7 +103,7 @@ void ScPrivatSplit::MouseButtonDown( const MouseEvent& rMEvt )
 }
 
 /*************************************************************************
-#*	Member:		MouseButtonUp							Datum:13.10.97
+#*	Member:		MouseButtonUp
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScPrivatSplit
@@ -165,7 +165,7 @@ void ScPrivatSplit::MouseButtonUp( const MouseEvent& rMEvt )
 }
 
 /*************************************************************************
-#*	Member:		MouseMove									Datum:13.10.97
+#*	Member:		MouseMove
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScPrivatSplit
@@ -230,7 +230,7 @@ void ScPrivatSplit::MouseMove( const MouseEvent& rMEvt )
 }
 
 /*************************************************************************
-#*	Member:		SetYRange									Datum:14.10.97
+#*	Member:		SetYRange
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScPrivatSplit
@@ -250,7 +250,7 @@ void ScPrivatSplit::SetYRange(Range cRgeY)
 
 
 /*************************************************************************
-#*	Member:		GetDeltaY									Datum:13.10.97
+#*	Member:		GetDeltaY
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScPrivatSplit
@@ -268,7 +268,7 @@ short ScPrivatSplit::GetDeltaX()
 }
 
 /*************************************************************************
-#*	Member:		GetDeltaY									Datum:13.10.97
+#*	Member:		GetDeltaY
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScPrivatSplit
@@ -286,7 +286,7 @@ short ScPrivatSplit::GetDeltaY()
 }
 
 /*************************************************************************
-#*	Member:		CtrModified									Datum:13.10.97
+#*	Member:		CtrModified
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScPrivatSplit
diff --git a/sc/source/ui/inc/dbnamdlg.hxx b/sc/source/ui/inc/dbnamdlg.hxx
index 816a4e5..8b938ae 100644
--- a/sc/source/ui/inc/dbnamdlg.hxx
+++ b/sc/source/ui/inc/dbnamdlg.hxx
@@ -70,7 +70,7 @@ private:
     CheckBox			aBtnDoSize;
     CheckBox			aBtnKeepFmt;
     CheckBox			aBtnStripData;
-    ScExpandedFixedText	aFTSource;	   //@18.09.97 erweiterter FixedText
+    ScExpandedFixedText	aFTSource;
     FixedText			aFTOperations;
 
     OKButton		aBtnOk;
diff --git a/sc/source/ui/miscdlgs/crnrdlg.cxx b/sc/source/ui/miscdlgs/crnrdlg.cxx
index 4f3e5c7..e7f0973 100644
--- a/sc/source/ui/miscdlgs/crnrdlg.cxx
+++ b/sc/source/ui/miscdlgs/crnrdlg.cxx
@@ -63,7 +63,7 @@ const ULONG nEntryDataDelim = 2;
 
 
 /*************************************************************************
-#*	Member:		ScColRowNameRangesDlg						Datum:04.09.97
+#*	Member:		ScColRowNameRangesDlg
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -87,7 +87,7 @@ ScColRowNameRangesDlg::ScColRowNameRangesDlg( SfxBindings* pB,
                                 ScViewData*	ptrViewData )
 
     :	ScAnyRefDlg	( pB, pCW, pParent, RID_SCDLG_COLROWNAMERANGES ),
-        //
+
         aFlAssign       ( this, ScResId( FL_ASSIGN ) ),
         aLbRange		( this, ScResId( LB_RANGE ) ),
 
@@ -119,7 +119,7 @@ ScColRowNameRangesDlg::ScColRowNameRangesDlg( SfxBindings* pB,
 
 
 /*************************************************************************
-#*	Member:		~ScColRowNameRangesDlg						Datum:04.09.97
+#*	Member:		~ScColRowNameRangesDlg
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -138,7 +138,7 @@ ScColRowNameRangesDlg::~ScColRowNameRangesDlg()
 
 
 /*************************************************************************
-#*	Member:		Init										Datum:04.09.97
+#*	Member:		Init
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -208,15 +208,13 @@ void ScColRowNameRangesDlg::Init()
     aEdAssign.Enable();
     aEdAssign.GrabFocus();
     aRbAssign.Enable();
-    //@BugID 54702 Enablen/Disablen nur noch in Basisklasse
-    //SFX_APPWINDOW->Enable();		// Ref-Feld hat Focus
 
     Range1SelectHdl( 0 );
 }
 
 
 /*************************************************************************
-#*	Member:		SetColRowData								Datum:04.09.97
+#*	Member:		SetColRowData
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -317,7 +315,7 @@ void ScColRowNameRangesDlg::SetColRowData( const ScRange& rLabelRange,BOOL bRef)
 
 
 /*************************************************************************
-#*	Member:		AdjustColRowData							Datum:04.09.97
+#*	Member:		AdjustColRowData
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -393,7 +391,7 @@ void ScColRowNameRangesDlg::AdjustColRowData( const ScRange& rDataRange,BOOL bRe
 
 
 /*************************************************************************
-#*	Member:		SetReference								Datum:04.09.97
+#*	Member:		SetReference
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -430,7 +428,7 @@ void ScColRowNameRangesDlg::SetReference( const ScRange& rRef, ScDocument* /* pD
 
 
 /*************************************************************************
-#*	Member:		Close										Datum:04.09.97
+#*	Member:		Close
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -450,7 +448,7 @@ BOOL ScColRowNameRangesDlg::Close()
 
 
 /*************************************************************************
-#*	Member:		SetActive									Datum:04.09.97
+#*	Member:		SetActive
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -484,7 +482,7 @@ void ScColRowNameRangesDlg::SetActive()
 
 
 /*************************************************************************
-#*	Member:		UpdateNames									Datum:04.09.97
+#*	Member:		UpdateNames
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -508,7 +506,7 @@ void ScColRowNameRangesDlg::UpdateNames()
     size_t nCount, j;
     USHORT nPos; //@008 Hilfsvariable q eingefuegt
 
-    SCCOL nCol1;	//@008 04.09.97
+    SCCOL nCol1;
     SCROW nRow1;	//Erweiterung fuer Bereichsnamen
     SCTAB nTab1;
     SCCOL nCol2;
@@ -619,7 +617,7 @@ void ScColRowNameRangesDlg::UpdateNames()
 
 
 /*************************************************************************
-#*	Member:		UpdateRangeData								Datum:04.09.97
+#*	Member:		UpdateRangeData
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -670,7 +668,7 @@ void ScColRowNameRangesDlg::UpdateRangeData( const ScRange& rRange, BOOL bColNam
 
 
 /*************************************************************************
-#*	Member:		IsRefInputMode								Datum:04.09.97
+#*	Member:		IsRefInputMode
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -694,7 +692,7 @@ BOOL ScColRowNameRangesDlg::IsRefInputMode() const
 // ========
 
 /*************************************************************************
-#*	Handler:	OkBtnHdl									Datum:04.09.97
+#*	Handler:	OkBtnHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -728,7 +726,7 @@ IMPL_LINK( ScColRowNameRangesDlg, OkBtnHdl, void *, EMPTYARG )
 
 
 /*************************************************************************
-#*	Handler:	CancelBtnHdl								Datum:04.09.97
+#*	Handler:	CancelBtnHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -750,7 +748,7 @@ IMPL_LINK_INLINE_END( ScColRowNameRangesDlg, CancelBtnHdl, void *, EMPTYARG )
 
 
 /*************************************************************************
-#*	Handler:	AddBtnHdl									Datum:04.09.97
+#*	Handler:	AddBtnHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -823,7 +821,7 @@ IMPL_LINK( ScColRowNameRangesDlg, AddBtnHdl, void *, EMPTYARG )
 
 
 /*************************************************************************
-#*	Handler:	RemoveBtnHdl								Datum:04.09.97
+#*	Handler:	RemoveBtnHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -900,7 +898,7 @@ IMPL_LINK( ScColRowNameRangesDlg, RemoveBtnHdl, void *, EMPTYARG )
 
 
 /*************************************************************************
-#*	Handler:	Range1SelectHdl								Datum:04.09.97
+#*	Handler:	Range1SelectHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -981,14 +979,12 @@ IMPL_LINK( ScColRowNameRangesDlg, Range1SelectHdl, void *, EMPTYARG )
     aEdAssign.Enable();
     aRbAssign.Enable();
 
-    //@BugID 54702 Enablen/Disablen nur noch in Basisklasse
-    //SFX_APPWINDOW->Enable();
     return 0;
 }
 
 
 /*************************************************************************
-#*	Handler:	Range1DataModifyHdl							Datum:04.09.97
+#*	Handler:	Range1DataModifyHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -1037,7 +1033,7 @@ IMPL_LINK( ScColRowNameRangesDlg, Range1DataModifyHdl, void *, EMPTYARG )
 
 
 /*************************************************************************
-#*	Handler:	Range2DataModifyHdl							Datum:04.09.97
+#*	Handler:	Range2DataModifyHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -1074,7 +1070,7 @@ IMPL_LINK( ScColRowNameRangesDlg, Range2DataModifyHdl, void *, EMPTYARG )
 
 
 /*************************************************************************
-#*	Handler:	ColClickHdl									Datum:04.09.97
+#*	Handler:	ColClickHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
@@ -1112,7 +1108,7 @@ IMPL_LINK( ScColRowNameRangesDlg, ColClickHdl, void *, EMPTYARG )
 
 
 /*************************************************************************
-#*	Handler:	RowClickHdl									Datum:04.09.97
+#*	Handler:	RowClickHdl
 #*------------------------------------------------------------------------
 #*
 #*  Klasse:		ScColRowNameRangesDlg
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index cbb1f00..6a7d3f3 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -77,7 +77,6 @@ static const xub_StrLen SCNAV_COLLETTERS = ::ScColToAlpha(SCNAV_MAXCOL).Len();
 
 //------------------------------------------------------------------------
 
-//	static
 void ScNavigatorDlg::ReleaseFocus()
 {
     SfxViewShell* pCurSh = SfxViewShell::Current();
@@ -625,14 +624,6 @@ ScNavigatorDialogWrapper::ScNavigatorDialogWrapper(
     }
 
     pNavigator->bFirstBig = ( nCmdId == 0 );	// dann spaeter
-
-/*???
-    FloatingWindow* pFloat = GetFloatingWindow();
-    if ( pFloat )
-        pFloat->SetMinOutputSizePixel( pNavigator->GetMinOutputSizePixel() );
-*/
-
-//!?	pNavigator->Show();
 }
 
 void ScNavigatorDialogWrapper::Resizing( Size& rSize )
@@ -708,12 +699,6 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Win
     nListModeHeight	=  aInitSize.Height()
                      + nInitListHeight;
 
-    //	kein Resize, eh der ganze Kontext-Kram initialisiert ist!
-//	SetOutputSizePixel( aInitSize );		//???
-/*!	FloatingWindow* pFloat = pContextWin->GetFloatingWindow();
-    if ( pFloat)
-        pFloat->SetMinOutputSizePixel( aInitSize );
-*/
     ppBoundItems = new ScNavigatorControllerItem* [CTRL_ITEMS];
 
     rBindings.ENTERREGISTRATIONS();
@@ -798,8 +783,6 @@ void ScNavigatorDlg::Resizing( Size& rNewSize )  // Size = Outputsize?
                 rNewSize.Height() = aMinOut.Height();
         }
     }
-//	else
-//		SfxDockingWindow::Resizing(rNewSize);
 }
 
 
@@ -862,7 +845,6 @@ void ScNavigatorDlg::DoResize()
     //	auch wenn die Inhalte nicht sichtbar sind, die Groessen anpassen,
     //	damit die Breite stimmt
 
-    //@@ 03.11.97 changes begin
     Point aEntryPos = aLbEntries.GetPosPixel();
     Point aListPos = aLbDocuments.GetPosPixel();
     aNewSize.Width() -= 2*nBorderOffset;
@@ -886,8 +868,6 @@ void ScNavigatorDlg::DoResize()
     aWndScenarios.SetSizePixel( aNewSize );
     aLbDocuments.SetSizePixel( aDocSize );
 
-    //@@ 03.11.97 end
-
     BOOL bListMode = (eListMode != NAV_LMODE_NONE);
     FloatingWindow* pFloat = pContextWin->GetFloatingWindow();
     if ( pFloat && bListMode )
@@ -1152,7 +1132,6 @@ void ScNavigatorDlg::UpdateTable( const SCTAB* pTab )
     else if ( GetViewData() )
         nCurTab = pViewData->GetTabNo();
 
-//	aLbTables.SetTab( nCurTab );
     CheckDataArea();
 }
 
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index be244a5..0b50e87 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -200,13 +200,6 @@ void ScBlockUndo::EndUndo()
     ScSimpleUndo::EndUndo();
 }
 
-/*
-void ScBlockUndo::BeginRedo()
-{
-    ScSimpleUndo::BeginRedo();
-}
-*/
-
 void ScBlockUndo::EndRedo()
 {
     if (eMode == SC_UNDO_AUTOHEIGHT)
@@ -317,7 +310,6 @@ void ScMoveUndo::BeginUndo()
 
 void ScMoveUndo::EndUndo()
 {
-    //@17.12.97 Reihenfolge der Fkt.s geaendert
     DoSdrUndoAction( pDrawUndo, pDocShell->GetDocument() );     // #125875# must also be called when pointer is null
 
     if (pRefUndoDoc && eMode == SC_UNDO_REFLAST)
@@ -328,20 +320,6 @@ void ScMoveUndo::EndUndo()
     ScSimpleUndo::EndUndo();
 }
 
-/*
-void ScMoveUndo::BeginRedo()
-{
-    ScSimpleUndo::BeginRedo();
-}
-*/
-
-/*
-void ScMoveUndo::EndRedo()
-{
-    ScSimpleUndo::EndRedo();
-}
-*/
-
 // -----------------------------------------------------------------------
 
 ScDBFuncUndo::ScDBFuncUndo( ScDocShell* pDocSh, const ScRange& rOriginal, SdrUndoAction* pDrawUndo ) :
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index 1a15a37..96299c8 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -1202,7 +1202,7 @@ uno::Reference<sheet::XSpreadsheet> SAL_CALL ScTabViewObj::getActiveSheet()
     return NULL;
 }
 
-//liuchen 2009-9-2 support expand (but not replace) the active sheet
+// support expand (but not replace) the active sheet
 void SAL_CALL ScTabViewObj::setActiveSheet( const uno::Reference<sheet::XSpreadsheet>& xActiveSheet )
                                                 throw(uno::RuntimeException)
 {
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx
index 9e34165..6ff7bb3 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -49,14 +49,12 @@
 #include <com/sun/star/ui/dialogs/XFilePicker2.hpp>
 #include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
 #include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
-//2009-11-06 add by limingl
 #include <com/sun/star/ui/dialogs/XFilterManager.hpp>
 #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
-//end
 #include<ooo/vba/XCommandBars.hpp>
-#include <ooo/vba/excel/XlEnableCancelKey.hpp> //liuchen 2009-11-26
-#include <ooo/vba/excel/XlApplicationInternational.hpp> //liuchen 2009-11-26
-#include <unotools/localedatawrapper.hxx> //liuchen 2009-11-26
+#include <ooo/vba/excel/XlEnableCancelKey.hpp>
+#include <ooo/vba/excel/XlApplicationInternational.hpp>
+#include <unotools/localedatawrapper.hxx>
 
 #include "vbaapplication.hxx"
 #include "vbaworkbooks.hxx"
@@ -75,12 +73,12 @@
 #include <vbahelper/vbashape.hxx>
 #include "vbatextboxshape.hxx"
 #include "vbaassistant.hxx"
-#include "vbafilesearch.hxx" //liuchen 2009-8-18, add the support of VBA Application.FileSearch
+#include "vbafilesearch.hxx" // add the support of VBA Application.FileSearch
 #include "sc.hrc"
 #include "macromgr.hxx"
-#include "global.hxx" //liuchen 2009-11-26
-#include "scmod.hxx" //liuchen 2009-11-26
-#include "docoptio.hxx" //liuchen 2009-11-26
+#include "global.hxx"
+#include "scmod.hxx"
+#include "docoptio.hxx"
 #include "appoptio.hxx"
 
 #include <osl/file.hxx>
@@ -122,7 +120,7 @@
 #include <basic/sbx.hxx>
 #include <basic/sbxobj.hxx>
 #include <basic/sbuno.hxx>
-//limingl 2009-07-20
+
 #include "vbafiledialog.hxx"
 using namespace ::ooo::vba;
 using namespace ::com::sun::star;
@@ -280,7 +278,7 @@ ScVbaApplication::getAssistant() throw (uno::RuntimeException)
     return uno::Reference< XAssistant >( new ScVbaAssistant( this, mxContext ) );
 }
 
-//liuchen 2009-8-18, add support of VBA Application.FileSearch
+// add support of VBA Application.FileSearch
 uno::Reference< XFileSearch > SAL_CALL
 ScVbaApplication::getFileSearch() throw (uno::RuntimeException)
 {
@@ -291,7 +289,6 @@ ScVbaApplication::getFileSearch() throw (uno::RuntimeException)
 
     return m_xFileSearch;
 }
-//liuchen
 
 uno::Any SAL_CALL
 ScVbaApplication::getSelection() throw (uno::RuntimeException)
@@ -867,7 +864,7 @@ ScVbaApplication::setVisible(sal_Bool /*bVisible*/) throw (uno::RuntimeException
 {
 }
 
-//liuchen 2009-11-25 add the support of Excel VBA Application.Iteration
+//add the support of Excel VBA Application.Iteration
 //The Excel Iteration option is global and unique, but in Symphony there is an Iteration property in ScModule and one in every ScDocument,
 //so the set method will set all the Iteration properties
 sal_Bool SAL_CALL
@@ -906,9 +903,8 @@ ScVbaApplication::setIteration(sal_Bool bIteration) throw (uno::RuntimeException
         xPropertySet->setPropertyValue( aPropName, aIteration );
     }
 }
-//liuchen 2009-11-25 end
 
-//liuchen 2009-11-26 add the support of Excel VBA Application.EnableCancelKey
+//add the support of Excel VBA Application.EnableCancelKey
 sal_Int32 SAL_CALL
 ScVbaApplication::getEnableCancelKey() throw (uno::RuntimeException)
 {
@@ -919,7 +915,6 @@ void SAL_CALL
 ScVbaApplication::setEnableCancelKey(sal_Int32 /*lEnableCancelKey*/) throw (uno::RuntimeException)
 {
 }
-//liuchen 2009-11-26 end
 
 sal_Int32 SAL_CALL ScVbaApplication::getSheetsInNewWorkbook() throw (uno::RuntimeException)
 {
@@ -1370,7 +1365,6 @@ ScVbaApplication::Caller( const uno::Any& /*aIndex*/ ) throw ( uno::RuntimeExcep
     return aRet;
 }
 
-//Add by minz at cn.ibm.com. 2009-07-08.
 uno::Any SAL_CALL
 ScVbaApplication::GetOpenFilename(const uno::Any& FileFilter, const uno::Any& FilterIndex, const uno::Any& Title, const uno::Any& ButtonText, const uno::Any& MultiSelect)  throw (uno::RuntimeException)
 {
@@ -1516,7 +1510,6 @@ ScVbaApplication::GetOpenFilename(const uno::Any& FileFilter, const uno::Any& Fi
     return aRet;
 }
 
-//liming 2009-7-17
 ::com::sun::star::uno::Reference< ::ooo::vba::XFileDialog > SAL_CALL
 ScVbaApplication::getFileDialog() throw (::com::sun::star::uno::RuntimeException)
 {
@@ -1526,7 +1519,6 @@ ScVbaApplication::getFileDialog() throw (::com::sun::star::uno::RuntimeException
 
 typedef std::map< ::rtl::OUString, ::rtl::OUString > FileFilterMap;
 
-//2009-11-06 add by limingl
 uno::Any SAL_CALL
 ScVbaApplication::GetSaveAsFilename( const ::com::sun::star::uno::Any& InitialFilename, const ::com::sun::star::uno::Any& FileFilter, const ::com::sun::star::uno::Any& FilterIndex, const ::com::sun::star::uno::Any& Title, const ::com::sun::star::uno::Any& ButtonText ) throw (::com::sun::star::uno::RuntimeException)
 {
@@ -1706,7 +1698,7 @@ ScVbaApplication::MenuBars( const uno::Any& aIndex ) throw (uno::RuntimeExceptio
     return uno::Any( xMenuBars );
 }
 
-//liuchen 2009-11-26 add the support of Application.International
+//add the support of Application.International
 sal_Int32 SAL_CALL
 ConvertCountryCode(const OUString& language)
 {
@@ -1767,9 +1759,7 @@ ScVbaApplication::International( sal_Int32 Index ) throw (uno::RuntimeException)
     }
     return aRet;
 }
-//liuchen 2009-11-26 end
 
-//2009-12-11 add by limingl
 void SAL_CALL ScVbaApplication::Undo(  ) throw (::com::sun::star::uno::RuntimeException)
 {
     SfxAllItemSet reqList(  SFX_APP()->GetPool() );
@@ -1781,7 +1771,6 @@ void SAL_CALL ScVbaApplication::Undo(  ) throw (::com::sun::star::uno::RuntimeEx
         pViewShell->ExecuteUndo(rReq);
     }
 }
-//end
 
 double SAL_CALL ScVbaApplication::InchesToPoints( double Inches ) throw (uno::RuntimeException)
 {
diff --git a/sc/source/ui/vba/vbaapplication.hxx b/sc/source/ui/vba/vbaapplication.hxx
index 6a5f655..bc047b8 100644
--- a/sc/source/ui/vba/vbaapplication.hxx
+++ b/sc/source/ui/vba/vbaapplication.hxx
@@ -37,7 +37,6 @@
 #include <vbahelper/vbaapplicationbase.hxx>
 #include <cppuhelper/implbase1.hxx>
 
-//typedef InheritedHelperInterfaceImpl1< ov::excel::XApplication > ScVbaApplication_BASE;
 typedef cppu::ImplInheritanceHelper1< VbaApplicationBase, ov::excel::XApplication > ScVbaApplication_BASE;
 
 class ScVbaApplication : public ScVbaApplication_BASE
@@ -48,7 +47,7 @@ private:
      sal_Bool m_bEnableEvents;
 
     rtl::OUString getOfficePath( const rtl::OUString& sPath ) throw ( css::uno::RuntimeException );
-    css::uno::Reference< ov::XFileSearch > m_xFileSearch; //
+    css::uno::Reference< ov::XFileSearch > m_xFileSearch;
 
 protected:
     virtual css::uno::Reference< css::frame::XModel > getCurrentDocument() throw (css::uno::RuntimeException);
@@ -91,7 +90,7 @@ public:
     virtual void SAL_CALL setDisplayFormulaBar( ::sal_Bool _displayformulabar ) throw ( css::uno::RuntimeException );
 
     virtual css::uno::Reference< ov::XAssistant > SAL_CALL getAssistant() throw (css::uno::RuntimeException);
-    virtual css::uno::Reference< ov::XFileSearch > SAL_CALL getFileSearch() throw (css::uno::RuntimeException); //liuchen 2009-8-18 add the support of Application.FileSearch
+    virtual css::uno::Reference< ov::XFileSearch > SAL_CALL getFileSearch() throw (css::uno::RuntimeException); // add the support of Application.FileSearch
     virtual css::uno::Reference< ov::excel::XWorkbook > SAL_CALL getThisWorkbook() throw (css::uno::RuntimeException);
     virtual css::uno::Any SAL_CALL Workbooks( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
     virtual css::uno::Any SAL_CALL Worksheets( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
@@ -108,10 +107,10 @@ public:
     virtual sal_Bool SAL_CALL getVisible() throw (css::uno::RuntimeException);
     virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw (css::uno::RuntimeException);
 
-    virtual sal_Bool SAL_CALL getIteration() throw (css::uno::RuntimeException);  //liuchen 2009-11-25 add the support of Iteration
-    virtual void SAL_CALL setIteration( sal_Bool bIteration ) throw (css::uno::RuntimeException);  //liuchen 2009-11-25 add the support of Iteration
-    virtual sal_Int32 SAL_CALL getEnableCancelKey() throw (css::uno::RuntimeException);  //liuchen 2009-11-26 add the support of EnableCancelKey
-    virtual void SAL_CALL setEnableCancelKey( sal_Int32 lEnableCancelKey ) throw (css::uno::RuntimeException);  //liuchen 2009-11-26 add the support of EnableCancelKey
+    virtual sal_Bool SAL_CALL getIteration() throw (css::uno::RuntimeException);  // add the support of Iteration
+    virtual void SAL_CALL setIteration( sal_Bool bIteration ) throw (css::uno::RuntimeException);  // add the support of Iteration
+    virtual sal_Int32 SAL_CALL getEnableCancelKey() throw (css::uno::RuntimeException);  // add the support of EnableCancelKey
+    virtual void SAL_CALL setEnableCancelKey( sal_Int32 lEnableCancelKey ) throw (css::uno::RuntimeException);  // add the support of EnableCancelKey
 
     virtual sal_Int32 SAL_CALL getSheetsInNewWorkbook() throw (css::uno::RuntimeException);
     virtual void SAL_CALL setSheetsInNewWorkbook( sal_Int32 SheetsInNewWorkbook ) throw (css::script::BasicErrorException, css::uno::RuntimeException);
@@ -131,9 +130,8 @@ public:
     virtual css::uno::Any SAL_CALL Caller( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
     virtual css::uno::Any SAL_CALL MenuBars( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
     virtual css::uno::Any SAL_CALL GetOpenFilename( const css::uno::Any& FileFilter, const css::uno::Any& FilterIndex, const css::uno::Any& Title, const css::uno::Any& ButtonText, const css::uno::Any& MultiSelect ) throw (css::uno::RuntimeException);
-    virtual ::com::sun::star::uno::Reference< ::ooo::vba::XFileDialog > SAL_CALL getFileDialog() throw (::com::sun::star::uno::RuntimeException); //liminl 2009-08-12 add
-    virtual css::uno::Any SAL_CALL International( sal_Int32 Index ) throw (css::uno::RuntimeException); //liuchen 2009-11-26
-    //2009-12-04 add by limingl
+    virtual ::com::sun::star::uno::Reference< ::ooo::vba::XFileDialog > SAL_CALL getFileDialog() throw (::com::sun::star::uno::RuntimeException);
+    virtual css::uno::Any SAL_CALL International( sal_Int32 Index ) throw (css::uno::RuntimeException);
     virtual css::uno::Any SAL_CALL GetSaveAsFilename( const ::com::sun::star::uno::Any& InitialFilename, const ::com::sun::star::uno::Any& FileFilter, const ::com::sun::star::uno::Any& FilterIndex, const ::com::sun::star::uno::Any& Title, const ::com::sun::star::uno::Any& ButtonText ) throw (::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL Undo(  ) throw (::com::sun::star::uno::RuntimeException);
     virtual double SAL_CALL InchesToPoints( double Inches ) throw (css::uno::RuntimeException);
diff --git a/sc/source/ui/vba/vbadialog.cxx b/sc/source/ui/vba/vbadialog.cxx
index 452fa9a..c1f882c 100644
--- a/sc/source/ui/vba/vbadialog.cxx
+++ b/sc/source/ui/vba/vbadialog.cxx
@@ -32,7 +32,6 @@
 using namespace ::ooo::vba;
 using namespace ::com::sun::star;
 
-//liuchen 2009-7-27
 //solve the problem that "Application.Dialogs.Item(***).Show" and "Application.Dialogs.Count" cannot get the correct result
 struct DialogMatch
 {
@@ -72,7 +71,6 @@ static const DialogMatch aDialogMatchList[] =
 
 const sal_Int32 nDialogSize = SAL_N_ELEMENTS( aDialogMatchList ) ;
 
-//liuchen modified 2009-2-27
 rtl::OUString
 ScVbaDialog::mapIndexToName( sal_Int32 nIndex )
 {
@@ -106,7 +104,6 @@ ScVbaDialog::getServiceNames()
     return aServiceNames;
 }
 
-//liuchen add 2009-7-27
 sal_Int32 ScVbaDialog::GetSupportedDialogCount()
 {
     return nDialogSize;
diff --git a/sc/source/ui/vba/vbadialog.hxx b/sc/source/ui/vba/vbadialog.hxx
index 9c73aca..6ee6fd4 100644
--- a/sc/source/ui/vba/vbadialog.hxx
+++ b/sc/source/ui/vba/vbadialog.hxx
@@ -47,7 +47,6 @@ public:
     virtual rtl::OUString& getServiceImplName();
     virtual css::uno::Sequence<rtl::OUString> getServiceNames();
 
-    //liuchen 2009-7-27
     static sal_Int32 GetSupportedDialogCount();
 };
 
diff --git a/sc/source/ui/vba/vbadialogs.cxx b/sc/source/ui/vba/vbadialogs.cxx
index 361d1a4..c64babe 100644
--- a/sc/source/ui/vba/vbadialogs.cxx
+++ b/sc/source/ui/vba/vbadialogs.cxx
@@ -65,7 +65,6 @@ ScVbaDialogs::getServiceNames()
     return aServiceNames;
 }
 
-//liuchen 2009-7-27
 ::sal_Int32
 ScVbaDialogs::getCount() throw (uno::RuntimeException)
 {
diff --git a/sc/source/ui/vba/vbadialogs.hxx b/sc/source/ui/vba/vbadialogs.hxx
index 785757b..7510fd2 100644
--- a/sc/source/ui/vba/vbadialogs.hxx
+++ b/sc/source/ui/vba/vbadialogs.hxx
@@ -45,7 +45,7 @@ public:
 
     // XCollection
     virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index ) throw (css::uno::RuntimeException);
-    virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException); //liuchen 2009-7-27
+    virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException);
 
     // XDialogs
     virtual void SAL_CALL Dummy() throw (css::uno::RuntimeException);
diff --git a/sc/source/ui/vba/vbafilesearch.cxx b/sc/source/ui/vba/vbafilesearch.cxx
index 761058b..a6d41d0 100644
--- a/sc/source/ui/vba/vbafilesearch.cxx
+++ b/sc/source/ui/vba/vbafilesearch.cxx
@@ -196,7 +196,7 @@ sal_Int32 SAL_CALL ScVbaFileSearch::Execute( )  throw (css::uno::RuntimeExceptio
     return m_aSearchedFiles.getLength();
 }
 
-//liuchen 2009-11-5 set ScVbaApplication::getDefaultFilePath(  ) as the InitPath for FileSearch
+// set ScVbaApplication::getDefaultFilePath(  ) as the InitPath for FileSearch
  ::rtl::OUString ScVbaFileSearch::getInitPath() throw (css::uno::RuntimeException)
 {
     String aPath;
diff --git a/sc/source/ui/vba/vbaname.cxx b/sc/source/ui/vba/vbaname.cxx
index d1f0c7e..db2c434 100644
--- a/sc/source/ui/vba/vbaname.cxx
+++ b/sc/source/ui/vba/vbaname.cxx
@@ -70,8 +70,6 @@ ScVbaName::getWorkSheet() throw (css::uno::RuntimeException)
 ScVbaName::getName() throw (css::uno::RuntimeException)
 {
     String sName;
-    //sName += UniString( getWorkSheet()->getName()); //liuchen 2009-9-9 resolve the defect that the name get by macro code are not the same with that in UI (for example, if a name of "AA" is found in the UI "Define Names" dialog box, the result of get that name through macro code will be "Sheet1!AA")
-    //sName += String::CreateFromAscii("!");
     sName += UniString ( mxNamedRange->getName() );
     return ::rtl::OUString( sName );
 }
diff --git a/sc/source/ui/vba/vbapagebreaks.cxx b/sc/source/ui/vba/vbapagebreaks.cxx
index e6c83ed..d8a574d 100644
--- a/sc/source/ui/vba/vbapagebreaks.cxx
+++ b/sc/source/ui/vba/vbapagebreaks.cxx
@@ -117,7 +117,7 @@ sal_Int32 SAL_CALL RangePageBreaks::getCount(  ) throw (uno::RuntimeException)
     {
         sal_Int32 nPos = aTablePageBreakData[i].Position;
 
-        // VBA. minz at cn.ibm.com. All page breaks before the used range should be counted.
+        // All page breaks before the used range should be counted.
         // And the page break at the end of the used range also should be counted.
         if(  nPos <= nUsedEnd + 1 )
             nCount++;
@@ -154,7 +154,7 @@ sheet::TablePageBreakData RangePageBreaks::getTablePageBreakData( sal_Int32 nAPI
     uno::Sequence<sheet::TablePageBreakData> aTablePageBreakDataList = getAllPageBreaks();
 
     sal_Int32 nLength = aTablePageBreakDataList.getLength();
-    //VBA. minz at cn.ibm.com. No need to filter the page break. All page breaks before the used range are counted.
+    // No need to filter the page break. All page breaks before the used range are counted.
     if ( nAPIItemIndex < nLength && nAPIItemIndex>=0 )
         aTablePageBreakData = aTablePageBreakDataList[nAPIItemIndex];
 
diff --git a/sc/source/ui/vba/vbapagesetup.cxx b/sc/source/ui/vba/vbapagesetup.cxx
index 749cb33..f03ee70 100644
--- a/sc/source/ui/vba/vbapagesetup.cxx
+++ b/sc/source/ui/vba/vbapagesetup.cxx
@@ -630,8 +630,6 @@ ScVbaPageSetup::getServiceNames()
     return aServiceNames;
 }
 
-//liuchen 2009-12-11
-
 struct PaperSizeMap
 {
     Paper ePaper;
diff --git a/sc/source/ui/vba/vbapagesetup.hxx b/sc/source/ui/vba/vbapagesetup.hxx
index 9fc3a5b..a3b27f0 100644
--- a/sc/source/ui/vba/vbapagesetup.hxx
+++ b/sc/source/ui/vba/vbapagesetup.hxx
@@ -83,8 +83,8 @@ public:
     virtual void SAL_CALL setCenterHorizontally( sal_Bool centerHorizontally ) throw (css::uno::RuntimeException);
     virtual sal_Bool SAL_CALL getPrintHeadings() throw (css::uno::RuntimeException);
     virtual void SAL_CALL setPrintHeadings( sal_Bool printHeadings ) throw (css::uno::RuntimeException);
-    virtual sal_Int32 SAL_CALL getPaperSize() throw (css::uno::RuntimeException);  //liuchen 2009-12-11
-    virtual void SAL_CALL setPaperSize( sal_Int32 paperSize ) throw (css::uno::RuntimeException);  //liuchen 2009-12-11
+    virtual sal_Int32 SAL_CALL getPaperSize() throw (css::uno::RuntimeException);
+    virtual void SAL_CALL setPaperSize( sal_Int32 paperSize ) throw (css::uno::RuntimeException);
 
     // XHelperInterface
     virtual rtl::OUString& getServiceImplName();
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 8eaa0a0..7f67ce7 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -2001,7 +2001,6 @@ ScVbaRange::getFormulaArray() throw (uno::RuntimeException)
     uno::Reference< script::XTypeConverter > xConverter = getTypeConverter( mxContext );
     uno::Any aMatrix;
 
-    //VBA, minz at cn.ibm.com
     uno::Sequence< uno::Sequence<rtl::OUString> > aFmArray = xCellRangeFormula->getFormulaArray();
     if( aFmArray.getLength() )
     {
@@ -2569,7 +2568,6 @@ ScVbaRange::Cut(const ::uno::Any& Destination) throw (uno::RuntimeException)
         uno::Reference< sheet::XCellRangeAddressable > xSource( mxRange, uno::UNO_QUERY);
         xMover->moveRange( xDestination->getCellAddress(), xSource->getRangeAddress() );
     }
-    //VBA, minz at cn.ibm.com.
     else {
         uno::Reference< frame::XModel > xModel = excel::GetModelFromRange( mxRange );
         Select();
@@ -3139,8 +3137,8 @@ ScVbaRange::Replace( const ::rtl::OUString& What, const ::rtl::OUString& Replace
         if ( xIndexAccess.is() && xIndexAccess->getCount() > 0 )
         {
             // Fires the range change event.
-            ScCellRangesBase* pScCellRangesBase = ScCellRangesBase::getImplementation( xIndexAccess ); //liuchen 2010-01-05
-            lcl_NotifyRangeChanges( getScDocShell()->GetModel(), pScCellRangesBase ); //liuchen 2010-01-05 the original convert method will fail in SUSE
+            ScCellRangesBase* pScCellRangesBase = ScCellRangesBase::getImplementation( xIndexAccess );
+            lcl_NotifyRangeChanges( getScDocShell()->GetModel(), pScCellRangesBase ); // the original convert method will fail in SUSE
         }
     }
     return sal_True; // always
@@ -5184,18 +5182,17 @@ void ScVbaRange::setShowDetail(const uno::Any& aShowDetail) throw ( css::uno::Ru
     }
 }
 
-//09-09-16 add by limingl
 ::com::sun::star::uno::Reference< ::ooo::vba::excel::XQueryTable > SAL_CALL
 ScVbaRange::getQueryTable() throw (::com::sun::star::uno::RuntimeException)
 {
     if (!m_xQueryTable.is())
     {
-        m_xQueryTable = new ScVbaQueryTable(mxParent ,mxContext, getScDocument(), this); //add by limingl
+        m_xQueryTable = new ScVbaQueryTable(mxParent ,mxContext, getScDocument(), this);
     }
 
     return m_xQueryTable;
 }
-//end add
+
 uno::Reference< excel::XRange > SAL_CALL
 ScVbaRange::MergeArea() throw (script::BasicErrorException, uno::RuntimeException)
 {
@@ -5225,7 +5222,6 @@ ScVbaRange::MergeArea() throw (script::BasicErrorException, uno::RuntimeExceptio
     return new ScVbaRange( mxParent, mxContext, mxRange );
 }
 
-//2008-08-25 add by limingl
 //The recordset's member: Recordset.Fields.Item will get a Field obj.
 //Field.value is the column value.
 ::sal_Int32 SAL_CALL
@@ -5335,7 +5331,7 @@ throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::Run
 
     return 0;
 }
-//end add
+
 void SAL_CALL
 ScVbaRange::PrintOut( const uno::Any& From, const uno::Any& To, const uno::Any& Copies, const uno::Any& Preview, const uno::Any& ActivePrinter, const uno::Any& PrintToFile, const uno::Any& Collate, const uno::Any& PrToFileName ) throw (uno::RuntimeException)
 {
@@ -6106,7 +6102,7 @@ uno::Any SAL_CALL ScVbaRange::AdvancedFilter( sal_Int32 Action, const uno::Any&
     return aRet;
 }
 
-//Add by minz at cn.ibm.com. Range.PivotTable.
+//Range.PivotTable.
 //Returns a PivotTable object that represents the PivotTable report containing the upper-left corner of the specified range.
 uno::Reference< excel::XPivotTable >
 ScVbaRange::PivotTable() throw (uno::RuntimeException)
@@ -6127,8 +6123,6 @@ ScVbaRange::PivotTable() throw (uno::RuntimeException)
         xSheet = thisRange.getSpreadSheet();
     }
 
-//  RangeHelper thisRange( mxRange );
-//  uno::Reference< sheet::XSpreadsheet > xSheet = thisRange.getSpreadSheet();
     uno::Reference< sheet::XDataPilotTablesSupplier > xTables(xSheet, uno::UNO_QUERY_THROW ) ;
     uno::Reference< container::XIndexAccess > xIndexAccess( xTables->getDataPilotTables(), uno::UNO_QUERY_THROW );
     if ( xIndexAccess.is() )
diff --git a/sc/source/ui/vba/vbarange.hxx b/sc/source/ui/vba/vbarange.hxx
index cb31b3c..8a5bb0a 100644
--- a/sc/source/ui/vba/vbarange.hxx
+++ b/sc/source/ui/vba/vbarange.hxx
@@ -52,7 +52,7 @@
 #include <com/sun/star/sheet/XSpreadsheet.hpp>
 #include <com/sun/star/sheet/XSheetCellRangeContainer.hpp>
 #include <com/sun/star/table/CellAddress.hpp>
-#include "vbaquerytable.hxx" //09-09-18 add by limingl
+#include "vbaquerytable.hxx"
 
 #include "vbaformat.hxx"
 #include <formula/grammar.hxx>
@@ -101,7 +101,7 @@ class ScVbaRange : public ScVbaRange_BASE
     sal_Bool mbIsRows;
     sal_Bool mbIsColumns;
     css::uno::Reference< ov::excel::XValidation > m_xValidation;
-    css::uno::Reference<excel::XQueryTable> m_xQueryTable; //09-09-16 add by limingl
+    css::uno::Reference<excel::XQueryTable> m_xQueryTable;
     double getCalcColWidth( const css::table::CellRangeAddress& ) throw (css::uno::RuntimeException);
     double getCalcRowHeight( const css::table::CellRangeAddress& ) throw (css::uno::RuntimeException);
     void visitArray( ArrayVisitor& vistor );
@@ -195,7 +195,7 @@ public:
     virtual css::uno::Any SAL_CALL getPrefixCharacter() throw (css::uno::RuntimeException);
     virtual css::uno::Any SAL_CALL getShowDetail() throw (css::uno::RuntimeException);
     virtual void SAL_CALL setShowDetail(const css::uno::Any& aShowDetail) throw (css::uno::RuntimeException);
-    virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XQueryTable > SAL_CALL getQueryTable() throw (::com::sun::star::uno::RuntimeException); //09-09-16 add by limingl
+    virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XQueryTable > SAL_CALL getQueryTable() throw (::com::sun::star::uno::RuntimeException);
     // Methods
     sal_Bool IsRows() const { return mbIsRows; }
     sal_Bool IsColumns() const { return mbIsColumns; }
@@ -275,7 +275,7 @@ public:
 
     virtual css::uno::Reference< ov::excel::XPivotTable > SAL_CALL PivotTable(  ) throw (css::uno::RuntimeException);
 
-    virtual ::sal_Int32 SAL_CALL CopyFromRecordset( const ::com::sun::star::uno::Any& Data,  const ::com::sun::star::uno::Any& MaxRows, const ::com::sun::star::uno::Any& MaxColumns ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException); //2008-08-25 add by limingl
+    virtual ::sal_Int32 SAL_CALL CopyFromRecordset( const ::com::sun::star::uno::Any& Data,  const ::com::sun::star::uno::Any& MaxRows, const ::com::sun::star::uno::Any& MaxColumns ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException);
     // XEnumerationAccess
     virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException);
     // XElementAccess
diff --git a/sc/source/ui/vba/vbavalidation.cxx b/sc/source/ui/vba/vbavalidation.cxx
index 229e8f4..5d15c27 100644
--- a/sc/source/ui/vba/vbavalidation.cxx
+++ b/sc/source/ui/vba/vbavalidation.cxx
@@ -295,13 +295,13 @@ ScVbaValidation::Add( const uno::Any& Type, const uno::Any& AlertStyle, const un
 
     xProps->setPropertyValue( ALERTSTYLE, uno::makeAny( eStyle ) );
 
-    //2009-11-11 fix the defect that validatation cannot work when the input should be limited between a lower bound and an upper bound
+    // fix the defect that validatation cannot work when the input should be limited between a lower bound and an upper bound
     if ( Operator.hasValue() )
     {
         css::sheet::ConditionOperator conOperator = ScVbaFormatCondition::retrieveAPIOperator( Operator );
         xCond->setOperator( conOperator );
     }
-    //2009-11-11
+
     if ( sFormula1.getLength() )
         xCond->setFormula1( sFormula1 );
     if ( sFormula2.getLength() )
diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx
index 1af4fee..a93db91 100644
--- a/sc/source/ui/vba/vbaworkbook.cxx
+++ b/sc/source/ui/vba/vbaworkbook.cxx
@@ -37,7 +37,7 @@
 #include <com/sun/star/frame/XFrame.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <ooo/vba/excel/XlFileFormat.hpp>
-#include <ooo/vba/excel/XApplication.hpp>  //liuchen 2009-12-16
+#include <ooo/vba/excel/XApplication.hpp>
 
 #include "scextopt.hxx"
 #include "vbaworksheet.hxx"
@@ -49,7 +49,7 @@
 #include "vbapalette.hxx"
 #include <osl/file.hxx>
 #include <stdio.h>
-#include "vbanames.hxx"  // Amelia Wang
+#include "vbanames.hxx"
 #include "nameuno.hxx"
 #include "docoptio.hxx"
 #include "unonames.hxx"
@@ -187,7 +187,7 @@ ScVbaWorkbook::getFileFormat(  ) throw (::uno::RuntimeException)
         return aFileFormat;
 }
 
-//VBA by minz at cn.ibm.com. Convert Excel fileformat to OO file filter
+// Convert Excel fileformat to OO file filter
 ::rtl::OUString ScVbaWorkbook::convertFileFormat(sal_Int32 aFileFormat)
 {
     rtl::OUString aFilterName;
@@ -325,13 +325,13 @@ ScVbaWorkbook::SaveCopyAs( const rtl::OUString& sFileName ) throw ( uno::Runtime
     xStor->storeToURL( aURL, storeProps );
 }
 
-//VBA by minz at cn.ibm.com. Add Workbook.SaveAs.
+// Add Workbook.SaveAs.
 void
 ScVbaWorkbook::SaveAs( const rtl::OUString& FileName, const uno::Any& FileFormat, const uno::Any& /*CreateBackup*/ ) throw ( uno::RuntimeException)
 {
     rtl::OUString aURL;
     osl::FileBase::getFileURLFromSystemPath( FileName, aURL );
-    //liuchen 2009-12-16 if the input parameter "FileName" takes the form as "MyFile", we need to get the current directory and combine the current directory and the file name
+    //if the input parameter "FileName" takes the form as "MyFile", we need to get the current directory and combine the current directory and the file name
     INetURLObject aFileNameURL( aURL );
     aURL = aFileNameURL.GetMainURL( INetURLObject::NO_DECODE );
     if ( aURL.getLength() == 0 )
@@ -344,7 +344,7 @@ ScVbaWorkbook::SaveAs( const rtl::OUString& FileName, const uno::Any& FileFormat
         aPathURL.Append( FileName );
         aURL = aPathURL.GetMainURL( INetURLObject::NO_DECODE );
     }
-    //liuchen 2009-12-16
+
     uno::Reference< frame::XStorable > xStor( getModel(), uno::UNO_QUERY_THROW );
 
     sal_Int32 aFileFormat = excel::XlFileFormat::xlExcel9795;
@@ -381,7 +381,6 @@ ScVbaWorkbook::Styles( const::uno::Any& Item ) throw (uno::RuntimeException)
     return uno::makeAny( dStyles );
 }
 
-// Amelia Wang
 uno::Any SAL_CALL
 ScVbaWorkbook::Names( const css::uno::Any& aIndex ) throw (uno::RuntimeException)
 {
diff --git a/sc/source/ui/vba/vbaworksheet.cxx b/sc/source/ui/vba/vbaworksheet.cxx
index 7d4701e..51a2292 100644
--- a/sc/source/ui/vba/vbaworksheet.cxx
+++ b/sc/source/ui/vba/vbaworksheet.cxx
@@ -96,7 +96,7 @@
 #include "vbaworksheets.hxx"
 #include "vbahyperlinks.hxx"
 #include "vbasheetobjects.hxx"
-#include "viewuno.hxx" //liuchen 2009-9-2
+#include "viewuno.hxx"
 
 #define STANDARDWIDTH 2267
 #define STANDARDHEIGHT 427
@@ -247,7 +247,6 @@ ScVbaWorksheet::setVisible( ::sal_Int32 _Visible ) throw (uno::RuntimeException)
 {
     uno::Reference< beans::XPropertySet > xProps( getSheet(), uno::UNO_QUERY_THROW );
 
-    //VBA by minz at cn.ibm.com.
     sal_Bool bVisible = true;
     switch( _Visible )
     {
@@ -479,7 +478,7 @@ ScVbaWorksheet::Activate() throw (uno::RuntimeException)
     xSpreadsheet->setActiveSheet(getSheet());
 }
 
-//liuchen 2009-9-2, support expand (but not replace) the active sheet
+// support expand (but not replace) the active sheet
 void
 ScVbaWorksheet::Select(const css::uno::Any& aReplace) throw (uno::RuntimeException)
 {
@@ -651,7 +650,7 @@ ScVbaWorksheet::getSheetAtOffset(SCTAB offset) throw (uno::RuntimeException)
 uno::Reference< excel::XWorksheet >
 ScVbaWorksheet::getNext() throw (uno::RuntimeException)
 {
-    //VBA, minz at cn.ibm.com. catch the exception for index out of bound
+    // catch the exception for index out of bound
     try{
         return getSheetAtOffset(static_cast<SCTAB>(1));
     }catch( lang::IndexOutOfBoundsException& /*e*/ )
@@ -663,7 +662,7 @@ ScVbaWorksheet::getNext() throw (uno::RuntimeException)
 uno::Reference< excel::XWorksheet >
 ScVbaWorksheet::getPrevious() throw (uno::RuntimeException)
 {
-    //VBA, minz at cn.ibm.com. catch the exception for index out of bound
+    // catch the exception for index out of bound
     try{
         return getSheetAtOffset(-1);
     }catch( lang::IndexOutOfBoundsException& /*e*/ )
@@ -753,7 +752,7 @@ ScVbaWorksheet::ChartObjects( const uno::Any& Index ) throw (uno::RuntimeExcepti
         uno::Reference< table::XTableChartsSupplier > xChartSupplier( getSheet(), uno::UNO_QUERY_THROW );
         uno::Reference< table::XTableCharts > xTableCharts = xChartSupplier->getCharts();
 
-        uno::Reference< drawing::XDrawPageSupplier > xDrawPageSupplier( getSheet(), uno::UNO_QUERY_THROW ); //VBA, minz at cn.ibm.com.
+        uno::Reference< drawing::XDrawPageSupplier > xDrawPageSupplier( getSheet(), uno::UNO_QUERY_THROW );
         mxCharts = new ScVbaChartObjects(  this, mxContext, xTableCharts, xDrawPageSupplier );
     }
     if ( Index.hasValue() )
@@ -1072,7 +1071,7 @@ ScVbaWorksheet::getCodeName() throw (css::uno::RuntimeException)
 sal_Int16
 ScVbaWorksheet::getSheetID() throw (uno::RuntimeException)
 {
-    uno::Reference< sheet::XCellRangeAddressable > xAddressable( getSheet(), uno::UNO_QUERY_THROW ); //VBA. minz at cn.ibm.com. if ActiveSheet, mxSheet is null.
+    uno::Reference< sheet::XCellRangeAddressable > xAddressable( getSheet(), uno::UNO_QUERY_THROW ); // if ActiveSheet, mxSheet is null.
     return xAddressable->getRangeAddress().Sheet;
 }
 
diff --git a/sc/source/ui/vba/vbaworksheet.hxx b/sc/source/ui/vba/vbaworksheet.hxx
index b27bf99..d8fe20e 100644
--- a/sc/source/ui/vba/vbaworksheet.hxx
+++ b/sc/source/ui/vba/vbaworksheet.hxx
@@ -117,7 +117,7 @@ public:
 
     // Methods
     virtual void SAL_CALL Activate() throw (css::uno::RuntimeException);
-    virtual void SAL_CALL Select(const css::uno::Any& aReplace) throw (css::uno::RuntimeException); //liuchen 2009-9-2, add the input parameter to support expand selection
+    virtual void SAL_CALL Select(const css::uno::Any& aReplace) throw (css::uno::RuntimeException); // add the input parameter to support expand selection
     virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Range( const css::uno::Any& Cell1, const css::uno::Any& Cell2 ) throw (css::uno::RuntimeException);
     virtual void SAL_CALL Move( const css::uno::Any& Before, const css::uno::Any& After ) throw (css::uno::RuntimeException) ;
      virtual void SAL_CALL Copy( const css::uno::Any& Before, const css::uno::Any& After ) throw (css::uno::RuntimeException);
-- 
1.7.3.5


--------------090503040801010303000402
Content-Type: text/plain;
 name="0005-Removed-commit-notes.-Thanks-to-PengYunQuan.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="0005-Removed-commit-notes.-Thanks-to-PengYunQuan.patch"



More information about the LibreOffice mailing list