[Libreoffice-commits] .: 2 commits - sc/source

Christina Rossmanith crossmanith at kemper.freedesktop.org
Wed Mar 2 12:32:34 PST 2011


 sc/source/core/data/attarray.cxx  |    2 +-
 sc/source/core/data/column2.cxx   |    6 +++---
 sc/source/core/data/documen8.cxx  |   10 +++++-----
 sc/source/core/data/documen9.cxx  |    6 +++---
 sc/source/core/data/document.cxx  |   18 +++++++++---------
 sc/source/core/data/dptabres.cxx  |    2 +-
 sc/source/core/data/drwlayer.cxx  |   10 +++++-----
 sc/source/core/data/global.cxx    |    2 +-
 sc/source/core/data/markdata.cxx  |    2 +-
 sc/source/core/data/patattr.cxx   |    8 ++++----
 sc/source/core/data/postit.cxx    |    4 ++--
 sc/source/core/data/stlpool.cxx   |    4 ++--
 sc/source/core/data/stlsheet.cxx  |    2 +-
 sc/source/core/data/table1.cxx    |    8 ++++----
 sc/source/core/data/table2.cxx    |    2 +-
 sc/source/core/data/table3.cxx    |   12 ++++++------
 sc/source/core/data/table4.cxx    |   10 +++++-----
 sc/source/core/data/table6.cxx    |    6 +++---
 sc/source/core/data/validat.cxx   |    2 +-
 sc/source/core/tool/address.cxx   |    2 +-
 sc/source/core/tool/autoform.cxx  |   16 ++++++++--------
 sc/source/core/tool/callform.cxx  |    2 +-
 sc/source/core/tool/cellform.cxx  |    2 +-
 sc/source/core/tool/chartlis.cxx  |    4 ++--
 sc/source/core/tool/chgtrack.cxx  |    2 +-
 sc/source/core/tool/compiler.cxx  |   14 +++++++-------
 sc/source/core/tool/detfunc.cxx   |    6 +++---
 sc/source/core/tool/interpr2.cxx  |    2 +-
 sc/source/core/tool/interpr3.cxx  |    2 +-
 sc/source/core/tool/progress.cxx  |    4 ++--
 sc/source/ui/view/cellsh.cxx      |    6 +++---
 sc/source/ui/view/cellsh1.cxx     |   10 +++++-----
 sc/source/ui/view/cellsh2.cxx     |    2 +-
 sc/source/ui/view/cellsh3.cxx     |    4 ++--
 sc/source/ui/view/dbfunc3.cxx     |    2 +-
 sc/source/ui/view/drawvie4.cxx    |    2 +-
 sc/source/ui/view/drawview.cxx    |   12 ++++++------
 sc/source/ui/view/editsh.cxx      |   10 +++++-----
 sc/source/ui/view/formatsh.cxx    |    8 ++++----
 sc/source/ui/view/gridwin.cxx     |   18 ++++++++----------
 sc/source/ui/view/gridwin3.cxx    |    4 ++--
 sc/source/ui/view/gridwin4.cxx    |    4 ++--
 sc/source/ui/view/gridwin5.cxx    |    2 +-
 sc/source/ui/view/hdrcont.cxx     |   10 +++++-----
 sc/source/ui/view/notemark.cxx    |    2 +-
 sc/source/ui/view/output.cxx      |   12 ++++++------
 sc/source/ui/view/output2.cxx     |   12 ++++++------
 sc/source/ui/view/preview.cxx     |    2 +-
 sc/source/ui/view/prevwsh.cxx     |    4 ++--
 sc/source/ui/view/printfun.cxx    |   12 ++++++------
 sc/source/ui/view/select.cxx      |    6 +++---
 sc/source/ui/view/spelldialog.cxx |    2 +-
 sc/source/ui/view/spelleng.cxx    |    2 +-
 sc/source/ui/view/tabcont.cxx     |    6 +++---
 sc/source/ui/view/tabview.cxx     |   14 +++++++-------
 sc/source/ui/view/tabview3.cxx    |   16 ++++++++--------
 sc/source/ui/view/tabview5.cxx    |    6 +++---
 sc/source/ui/view/tabvwsh2.cxx    |   20 ++++++++++----------
 sc/source/ui/view/tabvwsh3.cxx    |    2 +-
 sc/source/ui/view/tabvwsh4.cxx    |   28 ++++++++++++++--------------
 sc/source/ui/view/tabvwsh5.cxx    |    6 +++---
 sc/source/ui/view/tabvwsh9.cxx    |    2 +-
 sc/source/ui/view/tabvwsha.cxx    |    2 +-
 sc/source/ui/view/tabvwshb.cxx    |    4 ++--
 sc/source/ui/view/tabvwshd.cxx    |    2 +-
 sc/source/ui/view/tabvwshe.cxx    |    4 ++--
 sc/source/ui/view/tabvwshg.cxx    |    1 -
 sc/source/ui/view/viewdata.cxx    |   18 +++++++++---------
 sc/source/ui/view/viewfun3.cxx    |   14 +++++++-------
 sc/source/ui/view/viewfun4.cxx    |    4 ++--
 sc/source/ui/view/viewfun5.cxx    |    4 ++--
 sc/source/ui/view/viewfun7.cxx    |   20 ++++++++++----------
 sc/source/ui/view/viewfunc.cxx    |   14 +++++++-------
 73 files changed, 252 insertions(+), 255 deletions(-)

New commits:
commit b366b2d5f42d89a82174c5cb0305cf395cf67c47
Author: Guillaume Poussel <gpoussel at gmail.com>
Date:   Wed Mar 2 21:32:00 2011 +0100

    Remove bogus comments.

diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index 34f34c3..7c52a2d 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -101,7 +101,7 @@ ScCellShell::~ScCellShell()
     {
         pImpl->m_pClipEvtLstnr->AddRemoveListener( GetViewData()->GetActiveWin(), FALSE );
 
-        //  #103849# The listener may just now be waiting for the SolarMutex and call the link
+        //  The listener may just now be waiting for the SolarMutex and call the link
         //  afterwards, in spite of RemoveListener. So the link has to be reset, too.
         pImpl->m_pClipEvtLstnr->ClearCallbackLink();
 
@@ -343,7 +343,7 @@ sal_Bool lcl_TestFormat( SvxClipboardFmtItem& rFormats, const TransferableDataHe
 {
     if ( rDataHelper.HasFormat( nFormatId ) )
     {
-        //	#90675# translated format name strings are no longer inserted here,
+        //	translated format name strings are no longer inserted here,
         //	handled by "paste special" dialog / toolbox controller instead.
         //	Only the object type name has to be set here:
         String aStrVal;
@@ -557,7 +557,7 @@ void ScCellShell::GetState(SfxItemSet &rSet)
 
             case SID_RANGE_NOTETEXT:
                 {
-                    //	#43343# always take cursor position, do not use top-left cell of selection
+                    //	always take cursor position, do not use top-left cell of selection
                     ScAddress aPos( nPosX, nPosY, nTab );
                     String aNoteText;
                     if ( const ScPostIt* pNote = pDoc->GetNote( aPos ) )
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index eeedb6a..694268b 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -851,7 +851,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
                 }
                 else	// Aufruf per Maus
                 {
-                    //	#55284# nicht innerhalb einer zusammengefassten Zelle
+                    //	nicht innerhalb einer zusammengefassten Zelle
 
                     if ( nStartCol == nEndCol && nStartRow == nEndRow )
                     {
@@ -1220,7 +1220,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
                 ScTransferObj* pOwnClip = ScTransferObj::GetOwnClipboard( pWin );
                 if ( pOwnClip )
                 {
-                    // #129384# keep a reference in case the clipboard is changed during dialog or PasteFromClip
+                    // keep a reference in case the clipboard is changed during dialog or PasteFromClip
                     uno::Reference<datatransfer::XTransferable> aOwnClipRef( pOwnClip );
                     if ( pReqArgs!=NULL && pTabViewShell->SelectionEditable() )
                     {
@@ -1278,9 +1278,9 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
                                                                                                     RID_SCDLG_INSCONT);
                             DBG_ASSERT(pDlg, "Dialog create fail!");
                             pDlg->SetOtherDoc( bOtherDoc );
-                            // #53661# bei ChangeTrack MoveMode disablen
+                            // bei ChangeTrack MoveMode disablen
                             pDlg->SetChangeTrack( pDoc->GetChangeTrack() != NULL );
-                            // #72930# cut/move references may disable shift
+                            // cut/move references may disable shift
                             // directions if source and destination ranges intersect
                             if ( !bOtherDoc )
                             {
@@ -1836,7 +1836,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
             {
                 const SfxStringItem& rTextItem = (const SfxStringItem&)pReqArgs->Get( SID_RANGE_NOTETEXT );
 
-                //	#43343# immer Cursorposition
+                //	immer Cursorposition
                 ScAddress aPos( GetViewData()->GetCurX(), GetViewData()->GetCurY(), GetViewData()->GetTabNo() );
                 pTabViewShell->SetNoteText( aPos, rTextItem.GetValue() );
                 rReq.Done();
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 05ce415..f18a113 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -304,7 +304,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
                         pTabViewShell->MarkRange(aNewRange);
                     }
 
-                    if ( bContinue )		// #41905# Fehler beim Import -> Abbruch
+                    if ( bContinue )		// Fehler beim Import -> Abbruch
                     {
                         //	interne Operationen, wenn welche gespeichert
 
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx
index 9c35882..dc59620 100644
--- a/sc/source/ui/view/cellsh3.cxx
+++ b/sc/source/ui/view/cellsh3.cxx
@@ -85,7 +85,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
             //	beim Oeffnen eines Referenz-Dialogs darf die SubShell nicht umgeschaltet werden
             //	(beim Schliessen des Dialogs wird StopEditShell gerufen)
             case SID_OPENDLG_FUNCTION:
-                    //	#53318# inplace macht die EditShell Aerger...
+                    //	inplace macht die EditShell Aerger...
                     //!	kann nicht immer umgeschaltet werden ????
                     if (!pTabViewShell->GetViewFrame()->GetFrame().IsInPlace())
                         pTabViewShell->SetDontSwitch(TRUE);			// EditShell nicht abschalten
@@ -197,7 +197,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
                     ScInputHandler* pHdl = SC_MOD()->GetInputHdl( pTabViewShell );
                     if ( !pHdl || !pHdl->IsInEnterHandler() )
                     {
-                        //	#101061# UpdateInputHandler is needed after the cell content
+                        //	UpdateInputHandler is needed after the cell content
                         //	has changed, but if called from EnterHandler, UpdateInputHandler
                         //	will be called later when moving the cursor.
 
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index d717ee0..599d11c 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -583,7 +583,7 @@ String lcl_MakePivotTabName( const String& rPrefix, SCTAB nNumber )
 bool ScDBFunc::MakePivotTable( const ScDPSaveData& rData, const ScRange& rDest, BOOL bNewTable,
                                 const ScDPObject& rSource, BOOL bApi )
 {
-    //	#70096# error message if no fields are set
+    //	error message if no fields are set
     //	this must be removed when drag&drop of fields from a toolbox is available
 
     if ( rData.IsEmpty() && !bApi )
diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx
index 47e0df6..69e791c 100644
--- a/sc/source/ui/view/drawvie4.cxx
+++ b/sc/source/ui/view/drawvie4.cxx
@@ -269,7 +269,7 @@ void ScDrawView::SetMarkedOriginalSize()
         {
             // TODO/LEAN: working with visual area can switch object to running state
             uno::Reference < embed::XEmbeddedObject > xObj( ((SdrOle2Obj*)pObj)->GetObjRef(), uno::UNO_QUERY );
-            if ( xObj.is() )    // #121612# NULL for an invalid object that couldn't be loaded
+            if ( xObj.is() )    // NULL for an invalid object that couldn't be loaded
             {
                 sal_Int64 nAspect = ((SdrOle2Obj*)pObj)->GetAspect();
 
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index fbb95bb..e57d9ce 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -242,7 +242,7 @@ void ScDrawView::SetMarkedToLayer( BYTE nLayerNo )
 
         pViewData->GetDocShell()->SetDrawModified();
 
-        //	#84073# check mark list now instead of later in a timer
+        //	check mark list now instead of later in a timer
         CheckMarked();
         MarkListHasChanged();
     }
@@ -357,7 +357,7 @@ void ScDrawView::MarkListHasChanged()
     {
         pViewSh->Unmark();      // remove cell selection
 
-        //	#65379# end cell edit mode if drawing objects are selected
+        //	end cell edit mode if drawing objects are selected
         SC_MOD()->InputEnterHandler();
     }
 
@@ -369,7 +369,7 @@ void ScDrawView::MarkListHasChanged()
     ScClient* pClient = (ScClient*) pViewSh->GetIPClient();
     if ( pClient && pClient->IsObjectInPlaceActive() && !bUnoRefDialog )
     {
-        //	#41730# beim ViewShell::Activate aus dem Reset2Open nicht die Handles anzeigen
+        //	beim ViewShell::Activate aus dem Reset2Open nicht die Handles anzeigen
         pClient->DeactivateObject();
         //	Image-Ole wieder durch Grafik ersetzen passiert jetzt in ScClient::UIActivate
     }
@@ -433,7 +433,7 @@ void ScDrawView::MarkListHasChanged()
                 ULONG nListCount = pLst->GetObjCount();
                 if ( nListCount == 0 )
                 {
-                    //	#104156# An empty group (may occur during Undo) is no control or graphics object.
+                    //	An empty group (may occur during Undo) is no control or graphics object.
                     //	Creating the form shell during undo would lead to problems with the undo manager.
                     bOnlyControls = FALSE;
                     bOnlyGraf = FALSE;
@@ -542,7 +542,7 @@ void ScDrawView::ModelHasChanged()
     SdrObject* pEditObj = GetTextEditObject();
     if ( pEditObj && !pEditObj->IsInserted() && pViewData )
     {
-        //	#111700# SdrObjEditView::ModelHasChanged will end text edit in this case,
+        //	SdrObjEditView::ModelHasChanged will end text edit in this case,
         //	so make sure the EditEngine's undo manager is no longer used.
         pViewData->GetViewShell()->SetDrawTextUndo(NULL);
         SetCreateMode();	// don't leave FuText in a funny state
@@ -625,7 +625,7 @@ BOOL ScDrawView::SelectObject( const String& rName )
 
         pView->ScrollToObject( pFound );
 
-        /*  #61585# To select an object on the background layer, the layer has to
+        /*  To select an object on the background layer, the layer has to
             be unlocked even if exclusive drawing selection mode is not active
             (this is reversed in MarkListHasChanged when nothing is selected) */
         if ( pFound->GetLayer() == SC_LAYER_BACK &&
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index 0cfac15..ab57d6c 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -124,7 +124,7 @@ ScEditShell::~ScEditShell()
     {
         pClipEvtLstnr->AddRemoveListener( pViewData->GetActiveWin(), FALSE );
 
-        //  #122057# The listener may just now be waiting for the SolarMutex and call the link
+        //  The listener may just now be waiting for the SolarMutex and call the link
         //  afterwards, in spite of RemoveListener. So the link has to be reset, too.
         pClipEvtLstnr->ClearCallbackLink();
 
@@ -156,7 +156,7 @@ void lcl_RemoveAttribs( EditView& rEditView )
     pEngine->GetUndoManager().EnterListAction( aName, aName );
 
     rEditView.RemoveAttribs(TRUE);
-    pEngine->RepeatDefaults();		// #97226# paragraph attributes from cell formats must be preserved
+    pEngine->RepeatDefaults();		// paragraph attributes from cell formats must be preserved
 
     pEngine->GetUndoManager().LeaveListAction();
 
@@ -548,7 +548,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
                             pTableView->InsertField( aURLItem );
                             pTableView->SetSelection( aSel );		// select inserted field
 
-                            //	#57254# jetzt doch auch Felder in der Top-View
+                            //	jetzt doch auch Felder in der Top-View
 
                             if ( pTopView )
                             {
@@ -628,7 +628,7 @@ void lcl_DisableAll( SfxItemSet& rSet )    // disable all slots
 
 void ScEditShell::GetState( SfxItemSet& rSet )
 {
-    // #125326# When deactivating the view, edit mode is stopped, but the EditShell is left active
+    // When deactivating the view, edit mode is stopped, but the EditShell is left active
     // (a shell can't be removed from within Deactivate). In that state, the EditView isn't inserted
     // into the EditEngine, so it can have an invalid selection and must not be used.
     if ( !pViewData->HasEditView( pViewData->GetActivePart() ) )
@@ -1099,7 +1099,7 @@ String ScEditShell::GetSelectionText( BOOL bWholeWord )
 
 void ScEditShell::ExecuteUndo(SfxRequest& rReq)
 {
-    //	#81733# Undo must be handled here because it's called for both EditViews
+    //	Undo must be handled here because it's called for both EditViews
 
     ScInputHandler* pHdl = GetMyInputHdl();
     DBG_ASSERT(pHdl,"no ScInputHandler");
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 2c9d619..53aa261 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -712,7 +712,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
                 SfxAbstractTabDialog* pDlg    = NULL;
                 USHORT			nRsc	= 0;
 
-                //	#37034#/#37245# alte Items aus der Vorlage merken
+                // alte Items aus der Vorlage merken
                 SfxItemSet aOldSet = pStyleSheet->GetItemSet();
                 String aOldName = pStyleSheet->GetName();
 
@@ -776,7 +776,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
                 Window* pParent = Application::GetDefDialogParent();
                 if ( !pParent || !pParent->IsDialog() )
                 {
-                    //	#107256# GetDefDialogParent currently doesn't return the window
+                    //	GetDefDialogParent currently doesn't return the window
                     //	that was set with SetDefDialogParent (but dynamically finds the
                     //	topmost parent of the focus window), so IsDialog above is FALSE
                     //	even if called from the style catalog.
@@ -806,7 +806,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
                     {
                         nRetMask = pStyleSheet->GetMask();
 
-                        //	#37034#/#37245# Attribut-Vergleiche (frueher in ModifyStyleSheet)
+                        //	Attribut-Vergleiche (frueher in ModifyStyleSheet)
                         //	jetzt hier mit den alten Werten (Style ist schon veraendert)
 
                         if ( SFX_STYLE_FAMILY_PARA == eFam )
@@ -1585,7 +1585,7 @@ void ScFormatShell::ExecuteAttr( SfxRequest& rReq )
                     if ( pNewAttrs->GetItemState( ATTR_BORDER, TRUE, &pItem )
                          == SFX_ITEM_SET )
                     {
-                        //	#100959# The SvxFrameToolBoxControl toolbox controller uses a default
+                        //	The SvxFrameToolBoxControl toolbox controller uses a default
                         //	SvxBorderLine (all widths 0) to mark the lines that should be set.
                         //	Macro recording uses a SvxBoxItem with the real values (OutWidth > 0)
                         //	or NULL pointers for no lines.
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index b4c97db..ba23433 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1293,7 +1293,7 @@ void ScGridWindow::ExecFilter( ULONG nSel,
                         aParam.DeleteQuery(nQueryPos);
                 }
 
-                //	#100597# end edit mode - like in ScCellShell::ExecuteDB
+                //	end edit mode - like in ScCellShell::ExecuteDB
                 if ( pViewData->HasEditView( pViewData->GetActivePart() ) )
                 {
                     SC_MOD()->InputEnterHandler();
@@ -1393,7 +1393,7 @@ BOOL ScGridWindow::TestMouse( const MouseEvent& rMEvt, BOOL bAction )
                             pViewData->SetFillMode(
                                 aMarkRange.aStart.Col(), aMarkRange.aStart.Row(), nX, nY );
 
-                        //	#108266# The simple selection must also be recognized when dragging,
+                        //	The simple selection must also be recognized when dragging,
                         //	where the Marking flag is set and MarkToSimple won't work anymore.
                         pViewData->GetMarkData().MarkToSimple();
                     }
@@ -1475,7 +1475,6 @@ void ScGridWindow::HandleMouseButtonDown( const MouseEvent& rMEvt )
     // opened by inplace client and we would deactivate the inplace client,
     // the contex menu is closed by VCL asynchronously which in the end
     // would work on deleted objects or the context menu has no parent anymore)
-    // See #126086# and #128122#
     SfxViewShell* pViewSh = pViewData->GetViewShell();
     SfxInPlaceClient* pClient = pViewSh->GetIPClient();
     if ( pClient &&
@@ -1582,7 +1581,7 @@ void ScGridWindow::HandleMouseButtonDown( const MouseEvent& rMEvt )
         if ( nPosX >= (SCsCOL) nEditCol && nPosX <= (SCsCOL) nEndCol &&
              nPosY >= (SCsROW) nEditRow && nPosY <= (SCsROW) nEndRow )
         {
-            //	#53966# beim Klick in die Tabellen-EditView immer den Focus umsetzen
+            //	beim Klick in die Tabellen-EditView immer den Focus umsetzen
             if (bFormulaMode)	// sonst ist es oben schon passiert
                 GrabFocus();
 
@@ -2531,7 +2530,7 @@ void ScGridWindow::Tracking( const TrackingEvent& rTEvt )
 
             BOOL bRefMode =	pViewData->IsRefMode();
             if (bRefMode)
-                SC_MOD()->EndReference();		// #63148# Dialog nicht verkleinert lassen
+                SC_MOD()->EndReference();		// Dialog nicht verkleinert lassen
         }
     }
     else if ( rTEvt.IsTrackingEnded() )
@@ -2564,7 +2563,7 @@ void ScGridWindow::StartDrag( sal_Int8 /* nAction */, const Point& rPosPixel )
         SCROW		nEditRow;
         pViewData->GetEditView( eWhich, pEditView, nEditCol, nEditRow );
 
-        // #63263# don't remove the edit view while switching views
+        // don't remove the edit view while switching views
         ScModule* pScMod = SC_MOD();
         pScMod->SetInEditCommand( TRUE );
 
@@ -2606,7 +2605,6 @@ void ScGridWindow::Command( const CommandEvent& rCEvt )
     // menu from an inplace client is closed. Now we have the chance to
     // deactivate the inplace client without any problem regarding parent
     // windows and code on the stack.
-    // For more information, see #126086# and #128122#
     USHORT nCmd = rCEvt.GetCommand();
     ScTabViewShell* pTabViewSh = pViewData->GetViewShell();
     SfxInPlaceClient* pClient = pTabViewSh->GetIPClient();
@@ -2644,7 +2642,7 @@ void ScGridWindow::Command( const CommandEvent& rCEvt )
 
         if ( nCmd == COMMAND_CURSORPOS && !bEditView )
         {
-            //	#88458# CURSORPOS may be called without following text input,
+            //	CURSORPOS may be called without following text input,
             //	to set the input method window position
             //	-> input mode must not be started,
             //	manually calculate text insert position if not in input mode
@@ -3042,7 +3040,7 @@ static void ClearSingleSelection( ScViewData* pViewData )
 
 void ScGridWindow::KeyInput(const KeyEvent& rKEvt)
 {
-    // #96965# Cursor control for ref input dialog
+    // Cursor control for ref input dialog
     const KeyCode& rKeyCode = rKEvt.GetKeyCode();
     if( SC_MOD()->IsRefDialogOpen() )
     {
@@ -4272,7 +4270,7 @@ void ScGridWindow::PasteSelection( const Point& rPosPixel )
                 // keep a reference to the data in case the selection is changed during paste
                 uno::Reference<datatransfer::XTransferable> xRef( pDrawTransfer );
 
-                //	#96821# bSameDocClipboard argument for PasteDraw is needed
+                //	bSameDocClipboard argument for PasteDraw is needed
                 //	because only DragData is checked directly inside PasteDraw
                 pViewData->GetView()->PasteDraw( aLogicPos, pDrawTransfer->GetModel(), FALSE,
                             pDrawTransfer->GetSourceDocID() == pViewData->GetDocument()->GetDocumentID() );
diff --git a/sc/source/ui/view/gridwin3.cxx b/sc/source/ui/view/gridwin3.cxx
index 002552c..15d7305 100644
--- a/sc/source/ui/view/gridwin3.cxx
+++ b/sc/source/ui/view/gridwin3.cxx
@@ -186,7 +186,7 @@ BOOL ScGridWindow::DrawKeyInput(const KeyEvent& rKEvt)
                         bUsed = FALSE;					// nichts geloescht
                 }
             if (!bLeaveDraw)
-                UpdateStatusPosSize();		// #108137# for moving/resizing etc. by keyboard
+                UpdateStatusPosSize();		// for moving/resizing etc. by keyboard
             return bUsed;
         }
     }
@@ -342,7 +342,7 @@ void ScGridWindow::UpdateStatusPosSize()
     SfxItemSet aSet(pViewData->GetViewShell()->GetPool(), SID_ATTR_POSITION, SID_ATTR_SIZE);
 
     //	Fill items for position and size:
-    //	#108137# show action rectangle during action,
+    //	show action rectangle during action,
     //	position and size of selected object(s) if something is selected,
     //	mouse position otherwise
 
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index deba38f..9575967 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -82,7 +82,7 @@ void lcl_LimitRect( Rectangle& rRect, const Rectangle& rVisible )
     if ( rRect.Top()    < rVisible.Top()-1 )    rRect.Top()    = rVisible.Top()-1;
     if ( rRect.Bottom() > rVisible.Bottom()+1 ) rRect.Bottom() = rVisible.Bottom()+1;
 
-    // #51122# auch wenn das inner-Rectangle nicht sichtbar ist, muss evtl.
+    // auch wenn das inner-Rectangle nicht sichtbar ist, muss evtl.
     // die Titelzeile gezeichnet werden, darum kein Rueckgabewert mehr.
     // Wenn's weit daneben liegt, wird lcl_DrawOneFrame erst gar nicht gerufen.
 }
@@ -700,7 +700,7 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod
     aOutputData.DrawBackground();
     if ( bPageMode )
     {
-        // #87655# DrawPagePreview draws complete lines/page numbers, must always be clipped
+        // DrawPagePreview draws complete lines/page numbers, must always be clipped
         if ( aOutputData.SetChangedClip() )
         {
             DrawPagePreview(nX1,nY1,nX2,nY2, pContentDev);
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index c3dcba8..7d25a53 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -316,7 +316,7 @@ void ScGridWindow::RequestHelp(const HelpEvent& rHEvt)
 
                     if ( pIMapObj )
                     {
-                        //	#44990# Bei ImageMaps die Description anzeigen, wenn vorhanden
+                        //	Bei ImageMaps die Description anzeigen, wenn vorhanden
                         aHelpText = pIMapObj->GetAltText();
                         if (!aHelpText.Len())
                             aHelpText = pIMapObj->GetURL();
diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx
index 979d0fa..3b452e9 100644
--- a/sc/source/ui/view/hdrcont.cxx
+++ b/sc/source/ui/view/hdrcont.cxx
@@ -81,8 +81,8 @@ ScHeaderControl::ScHeaderControl( Window* pParent, SelectionEngine* pSelectionEn
 {
     // --- RTL --- no default mirroring for this window, the spreadsheet itself
     // is also not mirrored
-    // #107811# mirror the vertical window for correct border drawing
-    // #106948# table layout depends on sheet format, not UI setting, so the
+    // mirror the vertical window for correct border drawing
+    // table layout depends on sheet format, not UI setting, so the
     // borders of the vertical window have to be handled manually, too.
     EnableRTL( FALSE );
 
@@ -470,7 +470,7 @@ void ScHeaderControl::Paint( const Rectangle& rRect )
                 if ( nTransEnd * nLayoutSign >= nTransStart * nLayoutSign && bHighContrast && !bDark )
                 {
                     //	Transparent selection background is drawn after lines, before text.
-                    //	#109814# Use DrawSelectionBackground to make sure there is a visible
+                    //	Use DrawSelectionBackground to make sure there is a visible
                     //	difference. The case of a dark face color, where DrawSelectionBackground
                     //	would just paint over the lines, is handled separately (bDark).
                     //	Otherwise, GetHighlightColor is used with 80% transparency.
@@ -730,7 +730,7 @@ void ScHeaderControl::MouseButtonDown( const MouseEvent& rMEvt )
         SetMarking( TRUE );		//	muss vor SelMouseButtonDown sein
         pSelEngine->SelMouseButtonDown( rMEvt );
 
-        //	#74215# In column/row headers a simple click already is a selection.
+        //	In column/row headers a simple click already is a selection.
         //	-> Call SelMouseMove to ensure CreateAnchor is called (and DestroyAnchor
         //	if the next click is somewhere else with Control key).
         pSelEngine->SelMouseMove( rMEvt );
@@ -915,7 +915,7 @@ void ScHeaderControl::StopMarking()
     SetMarking( FALSE );
     bIgnoreMove = TRUE;
 
-    //	#86260# don't call pSelEngine->Reset, so selection across the parts of
+    //	don't call pSelEngine->Reset, so selection across the parts of
     //	a split/frozen view is possible
 
     ReleaseMouse();
diff --git a/sc/source/ui/view/notemark.cxx b/sc/source/ui/view/notemark.cxx
index 6268533..7591e6c 100644
--- a/sc/source/ui/view/notemark.cxx
+++ b/sc/source/ui/view/notemark.cxx
@@ -111,7 +111,7 @@ IMPL_LINK( ScNoteMarker, TimeHdl, Timer*, EMPTYARG )
             if( pObject )
                 aRect = pObject->GetCurrentBoundRect();
 
-            // #39351# Page einfuegen damit das Model sie kennt und auch deleted
+            // Page einfuegen damit das Model sie kennt und auch deleted
             pModel->InsertPage( pPage );
 
         }
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index 1b843e6..3ab5f6f 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -790,7 +790,7 @@ void ScOutputData::DrawBackground()
     BOOL bShowProt = bSyntaxMode && pDoc->IsTabProtected(nTab);
     BOOL bDoAll = bShowProt || bPagebreakMode || bSolidBackground;
 
-    //	#105733# SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
+    //	SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
     BOOL bCellContrast = bUseStyleColor &&
             Application::GetSettings().GetStyleSettings().GetHighContrastMode();
 
@@ -908,7 +908,7 @@ void ScOutputData::DrawExtraShadow(BOOL bLeft, BOOL bTop, BOOL bRight, BOOL bBot
     pDev->SetLineColor();
 
     const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
-    //	#105733# SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
+    //	SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
     BOOL bCellContrast = bUseStyleColor && rStyleSettings.GetHighContrastMode();
     Color aAutoTextColor;
     if ( bCellContrast )
@@ -1119,10 +1119,10 @@ void ScOutputData::DrawFrame()
     Color aSingleColor;
     BOOL bUseSingleColor = FALSE;
     const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
-    //	#105733# SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
+    //	SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
     BOOL bCellContrast = bUseStyleColor && rStyleSettings.GetHighContrastMode();
 
-    //	#107519# if a Calc OLE object is embedded in Draw/Impress, the VCL DrawMode is used
+    //	if a Calc OLE object is embedded in Draw/Impress, the VCL DrawMode is used
     //	for display mode / B&W printing. The VCL DrawMode handling doesn't work for lines
     //	that are drawn with DrawRect, so if the line/background bits are set, the DrawMode
     //	must be reset and the border colors handled here.
@@ -1383,7 +1383,7 @@ void ScOutputData::DrawRotatedFrame( const Color* pForceColor )
     const SfxItemSet*	 pCondSet;
 
     const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
-    //	#105733# SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
+    //	SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
     BOOL bCellContrast = bUseStyleColor && rStyleSettings.GetHighContrastMode();
 
     //	color (pForceColor) is determined externally, including DrawMode changes
@@ -1527,7 +1527,7 @@ void ScOutputData::DrawRotatedFrame( const Color* pForceColor )
                         const Color& rColor = pBackground->GetColor();
                         if ( rColor.GetTransparency() != 255 )
                         {
-                            //	#95879# draw background only for the changed row itself
+                            //	draw background only for the changed row itself
                             //	(background doesn't extend into other cells).
                             //	For the borders (rotated and normal), clipping should be
                             //	set if the row isn't changed, but at least the borders
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index eb82565..cc0147d 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -212,7 +212,7 @@ ScDrawStringsVars::ScDrawStringsVars(ScOutputData* pData, BOOL bPTL) :
     bPixelToLogic( bPTL )
 {
     ScModule* pScMod = SC_MOD();
-    //	#105733# SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
+    //	SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
     bCellContrast = pOutput->bUseStyleColor &&
             Application::GetSettings().GetStyleSettings().GetHighContrastMode();
 
@@ -749,7 +749,7 @@ double ScOutputData::GetStretch()
 {
     if ( pRefDevice->IsMapMode() )
     {
-        //	#95920# If a non-trivial MapMode is set, its scale is now already
+        //	If a non-trivial MapMode is set, its scale is now already
         //	taken into account in the OutputDevice's font handling
         //	(OutputDevice::ImplNewFont, see #95414#).
         //	The old handling below is only needed for pixel output.
@@ -2365,7 +2365,7 @@ void ScOutputData::DrawEdit(BOOL bPixelToLogic)
 
     ScModule* pScMod = SC_MOD();
     sal_Int32 nConfBackColor = pScMod->GetColorConfig().GetColorValue(svtools::DOCCOLOR).nColor;
-    //	#105733# SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
+    //	SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
     BOOL bCellContrast = bUseStyleColor &&
             Application::GetSettings().GetStyleSettings().GetHighContrastMode();
 
@@ -2944,7 +2944,7 @@ void ScOutputData::DrawEdit(BOOL bPixelToLogic)
                                     if (aAlignParam.meOrient==SVX_ORIENTATION_STANDARD && !aAlignParam.mbAsianVertical)
                                     {
                                         if (aAlignParam.adjustHorAlignment(pEngine))
-                                            // #55142# reset adjustment for the next cell
+                                            // reset adjustment for the next cell
                                             pOldPattern = NULL;
                                     }
                                     else
@@ -3167,7 +3167,7 @@ void ScOutputData::DrawRotated(BOOL bPixelToLogic)
 
     ScModule* pScMod = SC_MOD();
     sal_Int32 nConfBackColor = pScMod->GetColorConfig().GetColorValue(svtools::DOCCOLOR).nColor;
-    //	#105733# SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
+    //	SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
     BOOL bCellContrast = bUseStyleColor &&
             Application::GetSettings().GetStyleSettings().GetHighContrastMode();
 
@@ -3479,7 +3479,7 @@ void ScOutputData::DrawRotated(BOOL bPixelToLogic)
                                 double nAbsCos = fabs( nCos );
                                 double nAbsSin = fabs( nSin );
 
-                                // #47740# adjust witdh of papersize for height of text
+                                // adjust witdh of papersize for height of text
                                 int nSteps = 5;
                                 while (nSteps > 0)
                                 {
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx
index 43acb84..d09a1f1 100644
--- a/sc/source/ui/view/preview.cxx
+++ b/sc/source/ui/view/preview.cxx
@@ -169,7 +169,7 @@ void ScPreview::UpdateDrawView()		// nTab muss richtig sein
         if ( !pDrawView )									// neu anlegen?
         {
             pDrawView = new FmFormView( pModel, this );
-            // #55259# die DrawView uebernimmt den Design-Modus vom Model
+            // die DrawView uebernimmt den Design-Modus vom Model
             // (Einstellung "Im Entwurfsmodus oeffnen"), darum hier zuruecksetzen
             pDrawView->SetDesignMode( TRUE );
             pDrawView->SetPrintPreview( TRUE );
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index 608bd3d..a99ca0b 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -163,7 +163,7 @@ ScPreviewShell::ScPreviewShell( SfxViewFrame* pViewFrame,
         pData->WriteUserDataSequence( aSourceData );
         InitStartTable( pData->GetTabNo() );
 
-        //	#106334# also have to store the TabView's DesignMode state
+        //	also have to store the TabView's DesignMode state
         //	(only if draw view exists)
         SdrView* pDrawView = pTabViewShell->GetSdrView();
         if ( pDrawView )
@@ -189,7 +189,7 @@ ScPreviewShell::~ScPreviewShell()
     delete pVerScroll;
     delete pCorner;
 
-    //	#97612# normal mode of operation is switching back to default view in the same frame,
+    //	normal mode of operation is switching back to default view in the same frame,
     //	so there's no need to activate any other window here anymore
 }
 
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index c83ef16..fed86e3 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -412,7 +412,7 @@ ScPrintFunc::~ScPrintFunc()
 
     //	Druckereinstellungen werden jetzt von aussen wiederhergestellt
 
-    //	#64294# Fuer DrawingLayer/Charts muss der MapMode am Drucker (RefDevice) immer stimmen
+    //	Fuer DrawingLayer/Charts muss der MapMode am Drucker (RefDevice) immer stimmen
     SfxPrinter* pDocPrinter = pDoc->GetPrinter();	// auch fuer Preview den Drucker nehmen
     if (pDocPrinter)
         pDocPrinter->SetMapMode(aOldPrinterMode);
@@ -1039,7 +1039,7 @@ void ScPrintFunc::InitParam( const ScPrintOptions* pOptions )
     }
     else
     {
-        //	#74834# don't print hidden tables if there's no print range defined there
+        //	don't print hidden tables if there's no print range defined there
         if ( pDoc->IsVisible( nPrintTab ) )
         {
             aAreaParam.bPrintArea = FALSE;
@@ -1213,7 +1213,7 @@ void lcl_DrawGraphic( const SvxBrushItem &rBrush, OutputDevice *pOut, OutputDevi
                       break;
         case GPOS_TILED:
                     {
-                        //	#104004# use GraphicObject::DrawTiled instead of an own loop
+                        //	use GraphicObject::DrawTiled instead of an own loop
                         //	(pixel rounding is handled correctly, and a very small bitmap
                         //	is duplicated into a bigger one for better performance)
 
@@ -1222,7 +1222,7 @@ void lcl_DrawGraphic( const SvxBrushItem &rBrush, OutputDevice *pOut, OutputDevi
                         if( pOut->GetPDFWriter() &&
                             (aObject.GetType() == GRAPHIC_BITMAP || aObject.GetType() == GRAPHIC_DEFAULT) )
                         {
-                            // #104004# For PDF export, every draw
+                            // For PDF export, every draw
                             // operation for bitmaps takes a noticeable
                             // amount of place (~50 characters). Thus,
                             // optimize between tile bitmap size and
@@ -1320,7 +1320,7 @@ void ScPrintFunc::DrawBorder( long nScrX, long nScrY, long nScrW, long nScrH,
     if (nEffHeight<=0 || nEffWidth<=0)
         return;											// leer
 
-    //	#105733# SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
+    //	SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE)
     BOOL bCellContrast = bUseStyleColor;
 
     if ( pBackground && !bCellContrast )
@@ -1750,7 +1750,7 @@ void ScPrintFunc::MakeEditEngine()
         pEditDefaults->Put( rPattern.GetItem(ATTR_FONT_HEIGHT), EE_CHAR_FONTHEIGHT );
         pEditDefaults->Put( rPattern.GetItem(ATTR_CJK_FONT_HEIGHT), EE_CHAR_FONTHEIGHT_CJK );
         pEditDefaults->Put( rPattern.GetItem(ATTR_CTL_FONT_HEIGHT), EE_CHAR_FONTHEIGHT_CTL );
-        //	#69193# dont use font color, because background color is not used
+        //	dont use font color, because background color is not used
         //!	there's no way to set the background for note pages
         pEditDefaults->ClearItem( EE_CHAR_COLOR );
         if (ScGlobal::IsSystemRTL())
diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx
index 2034b29..e5b5286 100644
--- a/sc/source/ui/view/select.cxx
+++ b/sc/source/ui/view/select.cxx
@@ -456,7 +456,7 @@ BOOL ScViewFunctionSet::SetCursorAtCell( SCsCOL nPosX, SCsROW nPosY, BOOL bScrol
 
     if (bRefMode)
     {
-        // #90910# if no input is possible from this doc, don't move the reference cursor around
+        // if no input is possible from this doc, don't move the reference cursor around
         if ( !pScMod->IsModalMode(pViewData->GetSfxDocShell()) )
         {
             if (!bAnchor)
@@ -544,7 +544,7 @@ BOOL ScViewFunctionSet::SetCursorAtCell( SCsCOL nPosX, SCsROW nPosY, BOOL bScrol
             long nSizeX = 0;
             if ( bNegX )
             {
-                //	#94321# in SetCursorAtPoint hidden columns are skipped.
+                //	in SetCursorAtPoint hidden columns are skipped.
                 //	They must be skipped here too, or the result will always be the first hidden column.
                 do ++nPosX; while ( nPosX<nStartX && pDoc->ColHidden(nPosX, nTab) );
                 for (SCCOL i=nPosX; i<nStartX; i++)
@@ -557,7 +557,7 @@ BOOL ScViewFunctionSet::SetCursorAtCell( SCsCOL nPosX, SCsROW nPosY, BOOL bScrol
             long nSizeY = 0;
             if ( bNegY )
             {
-                //	#94321# in SetCursorAtPoint hidden rows are skipped.
+                //	in SetCursorAtPoint hidden rows are skipped.
                 //	They must be skipped here too, or the result will always be the first hidden row.
                 if (++nPosY < nStartY)
                 {
diff --git a/sc/source/ui/view/spelldialog.cxx b/sc/source/ui/view/spelldialog.cxx
index 69070be..e0d07b5 100644
--- a/sc/source/ui/view/spelldialog.cxx
+++ b/sc/source/ui/view/spelldialog.cxx
@@ -221,7 +221,7 @@ void ScSpellDialogChildWindow::Init()
     }
 
     mbOldIdleDisabled = mpDoc->IsIdleDisabled();
-    mpDoc->DisableIdle( TRUE );   // #42726# stop online spelling
+    mpDoc->DisableIdle( TRUE );   // stop online spelling
 
     // *** create Undo/Redo documents *** -------------------------------------
 
diff --git a/sc/source/ui/view/spelleng.cxx b/sc/source/ui/view/spelleng.cxx
index bbfb856..fd8e898 100644
--- a/sc/source/ui/view/spelleng.cxx
+++ b/sc/source/ui/view/spelleng.cxx
@@ -123,7 +123,7 @@ bool ScConversionEngineBase::FindNextConversionCell()
 
         for( SCTAB nTab = 0, nTabCount = mrDoc.GetTableCount(); nTab < nTabCount; ++nTab )
         {
-            //  #69965# always change the cell on the visible tab,
+            //  always change the cell on the visible tab,
             //  on the other selected tabs only if they contain the same text
 
             if( (nTab == mnStartTab) ||
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index 221bf2c..5320eb5 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -160,9 +160,9 @@ void ScTabControl::MouseButtonDown( const MouseEvent& rMEvt )
         pViewData->GetView()->ActiveGrabFocus();
     }
 
-    /*  #47745# Click into free area -> insert new sheet (like in Draw).
+    /*  Click into free area -> insert new sheet (like in Draw).
         Needing clean left click without modifiers (may be context menu).
-        #106948# Remember clicks to all pages, to be able to move mouse pointer later. */
+        Remember clicks to all pages, to be able to move mouse pointer later. */
     if( rMEvt.IsLeft() && (rMEvt.GetModifier() == 0) )
         nMouseClickPageId = GetPageId( rMEvt.GetPosPixel(), true );
     else
@@ -607,7 +607,7 @@ long ScTabControl::AllowRenaming()
         }
         else if ( Application::IsInModalMode() )
         {
-            //	#73472# don't show error message above any modal dialog
+            //	don't show error message above any modal dialog
             //	instead cancel renaming without error message
             nRet = TABBAR_RENAMING_CANCEL;
         }
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index eb1719a..e4674f5 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -801,7 +801,7 @@ void ScTabView::DoResize( const Point& rOffset, const Size& rSize, BOOL bInner )
         UpdateScrollBars();		// Scrollbars nicht beim Scrollen neu setzen
         UpdateHeaderWidth();
 
-        InterpretVisible();		// #69343# have everything calculated before painting
+        InterpretVisible();		// have everything calculated before painting
     }
 
     if (bHasHint)
@@ -1760,7 +1760,7 @@ void ScTabView::DoHSplit(long nSplitPos)
                     SC_SPLIT_BOTTOMRIGHT : SC_SPLIT_TOPRIGHT );
         }
 
-        //	#61410# Form-Layer muss den sichtbaren Ausschnitt aller Fenster kennen
+        //	Form-Layer muss den sichtbaren Ausschnitt aller Fenster kennen
         //	dafuer muss hier schon der MapMode stimmen
         for (USHORT i=0; i<4; i++)
             if (pGridWin[i])
@@ -1832,7 +1832,7 @@ void ScTabView::DoVSplit(long nSplitPos)
                     SC_SPLIT_BOTTOMLEFT : SC_SPLIT_BOTTOMRIGHT );
         }
 
-        //	#61410# Form-Layer muss den sichtbaren Ausschnitt aller Fenster kennen
+        //	Form-Layer muss den sichtbaren Ausschnitt aller Fenster kennen
         //	dafuer muss hier schon der MapMode stimmen
         for (USHORT i=0; i<4; i++)
             if (pGridWin[i])
@@ -2116,7 +2116,7 @@ void ScTabView::SnapSplitPos( Point& rScreenPosPixel )
     if (!bOverWin)
         return;
 
-    //	#74761# don't snap to cells if the scale will be modified afterwards
+    //	don't snap to cells if the scale will be modified afterwards
     if ( GetZoomType() != SVX_ZOOM_PERCENT )
         return;
 
@@ -2134,7 +2134,7 @@ void ScTabView::SnapSplitPos( Point& rScreenPosPixel )
     Point aMouse = pWin->NormalizedScreenToOutputPixel( rScreenPosPixel );
     SCsCOL nPosX;
     SCsROW nPosY;
-    //	#52949# bNextIfLarge=FALSE: nicht auf naechste Zelle, wenn ausserhalb des Fensters
+    //	bNextIfLarge=FALSE: nicht auf naechste Zelle, wenn ausserhalb des Fensters
     aViewData.GetPosFromPixel( aMouse.X(), aMouse.Y(), ePos, nPosX, nPosY, TRUE, FALSE, FALSE );
     BOOL bLeft;
     BOOL bTop;
@@ -2243,7 +2243,7 @@ void ScTabView::FreezeSplitters( BOOL bFreeze )
             aViewData.SetVSplitMode( SC_SPLIT_NORMAL );
     }
 
-    //	#61410# Form-Layer muss den sichtbaren Ausschnitt aller Fenster kennen
+    //	Form-Layer muss den sichtbaren Ausschnitt aller Fenster kennen
     //	dafuer muss hier schon der MapMode stimmen
     for (USHORT i=0; i<4; i++)
         if (pGridWin[i])
@@ -2326,7 +2326,7 @@ void ScTabView::InvalidateSplit()
 
 void ScTabView::SetNewVisArea()
 {
-    //	#63854# fuer die Controls muss bei VisAreaChanged der Draw-MapMode eingestellt sein
+    //	fuer die Controls muss bei VisAreaChanged der Draw-MapMode eingestellt sein
     //	(auch wenn ansonsten der Edit-MapMode gesetzt ist)
     MapMode aOldMode[4];
     MapMode aDrawMode[4];
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index 44b7935..59f9648 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -1437,7 +1437,7 @@ void ScTabView::SetTabNo( SCTAB nTab, BOOL bNew, BOOL bExtendSelection )
 
     if ( nTab != aViewData.GetTabNo() || bNew )
     {
-        //	#57724# Die FormShell moechte vor dem Umschalten benachrichtigt werden
+        //	Die FormShell moechte vor dem Umschalten benachrichtigt werden
         FmFormShell* pFormSh = aViewData.GetViewShell()->GetFormShell();
         if (pFormSh)
         {
@@ -1616,7 +1616,7 @@ void ScTabView::SetTabNo( SCTAB nTab, BOOL bNew, BOOL bExtendSelection )
         if ( aViewData.IsPagebreakMode() )
             UpdatePageBreakData();				//! asynchron ??
 
-        //	#53551# Form-Layer muss den sichtbaren Ausschnitt der neuen Tabelle kennen
+        //	Form-Layer muss den sichtbaren Ausschnitt der neuen Tabelle kennen
         //	dafuer muss hier schon der MapMode stimmen
         for (USHORT i=0; i<4; i++)
             if (pGridWin[i])
@@ -1679,7 +1679,7 @@ void ScTabView::MakeEditView( ScEditEngineDefaulter* pEngine, SCCOL nCol, SCROW
                      ( nCol >= nScrX && nCol <= nScrX + aViewData.VisibleCellsX(eHWhich) + 1 &&
                        nRow >= nScrY && nRow <= nScrY + aViewData.VisibleCellsY(eVWhich) + 1 );
 
-                //	#102421# for the active part, create edit view even if outside the visible area,
+                //	for the active part, create edit view even if outside the visible area,
                 //	so input isn't lost (and the edit view may be scrolled into the visible area)
 
                 //  #i26433# during spelling, the spelling view must be active
@@ -1866,7 +1866,7 @@ void ScTabView::PaintArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCRO
                 if (nCol1 < nScrX) nCol1 = nScrX;
                 if (nCol2 < nScrX)
                 {
-                    if ( eMode == SC_UPDATE_ALL )	// #91240# for UPDATE_ALL, paint anyway
+                    if ( eMode == SC_UPDATE_ALL )	// for UPDATE_ALL, paint anyway
                         nCol2 = nScrX;				// (because of extending strings to the right)
                     else
                         bOut = TRUE;				// completely outside the window
@@ -2349,7 +2349,7 @@ void ScTabView::ActivatePart( ScSplitPos eWhich )
 
         BOOL bRefMode = SC_MOD()->IsFormulaMode();
 
-        //	#40565# the HasEditView call during SetCursor would fail otherwise
+        //	the HasEditView call during SetCursor would fail otherwise
         if ( aViewData.HasEditView(eOld) && !bRefMode )
             UpdateInputLine();
 
@@ -2413,7 +2413,7 @@ void ScTabView::ActivatePart( ScSplitPos eWhich )
         SfxInPlaceClient* pClient = aViewData.GetViewShell()->GetIPClient();
         BOOL bOleActive = ( pClient && pClient->IsObjectInPlaceActive() );
 
-        //	#103823# don't switch ViewShell's active window during RefInput, because the focus
+        //	don't switch ViewShell's active window during RefInput, because the focus
         //	might change, and subsequent SetReference calls wouldn't find the right EditView
         if ( !bRefMode && !bOleActive )
             aViewData.GetViewShell()->SetWindow( pGridWin[eWhich] );
@@ -2500,7 +2500,7 @@ void ScTabView::ZoomChanged()
 
     SetNewVisArea();
 
-    InterpretVisible();		// #69343# have everything calculated before painting
+    InterpretVisible();		// have everything calculated before painting
 
     SfxBindings& rBindings = aViewData.GetBindings();
     rBindings.Invalidate( SID_ATTR_ZOOM );
@@ -2516,7 +2516,7 @@ void ScTabView::ZoomChanged()
         // flush OverlayManager before changing the MapMode
         pWin->flushOverlayManager();
 
-        //	#93650# make sure the EditView's position and size are updated
+        //	make sure the EditView's position and size are updated
         //	with the right (logic, not drawing) MapMode
         pWin->SetMapMode( aViewData.GetLogicMode() );
         UpdateEditView();
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index 6b69efe..2e84699 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -238,7 +238,7 @@ void ScTabView::MakeDrawView( BYTE nForceDesignMode )
         SetDrawFuncPtr(new FuSelection( aViewData.GetViewShell(), GetActiveWin(), pDrawView,
                                         pLayer,aSfxRequest));
 
-        //	#106334# used when switching back from page preview: restore saved design mode state
+        //	used when switching back from page preview: restore saved design mode state
         //	(otherwise, keep the default from the draw view ctor)
         if ( nForceDesignMode != SC_FORCEMODE_NONE )
             pDrawView->SetDesignMode( (BOOL)nForceDesignMode );
@@ -286,7 +286,7 @@ void ScTabView::TabChanged()
         UpdateLayerLocks();
 
         pDrawView->RecalcScale();
-        pDrawView->UpdateWorkArea();	// #54782# PageSize ist pro Page unterschiedlich
+        pDrawView->UpdateWorkArea();	// PageSize ist pro Page unterschiedlich
 
         for (i=0; i<4; i++)
             if (pGridWin[i])
@@ -511,7 +511,7 @@ void ScTabView::DrawEnableAnim(BOOL bSet)
     USHORT i;
     if ( pDrawView )
     {
-        //	#71040# dont start animations if display of graphics is disabled
+        //	dont start animations if display of graphics is disabled
         //	graphics are controlled by VOBJ_TYPE_OLE
         if ( bSet && aViewData.GetOptions().GetObjMode(VOBJ_TYPE_OLE) == VOBJ_MODE_SHOW )
         {
diff --git a/sc/source/ui/view/tabvwsh2.cxx b/sc/source/ui/view/tabvwsh2.cxx
index 45ae0c3..69a8c83 100644
--- a/sc/source/ui/view/tabvwsh2.cxx
+++ b/sc/source/ui/view/tabvwsh2.cxx
@@ -63,7 +63,7 @@
 #include "scmod.hxx"
 #include "appoptio.hxx"
 
-// #98185# Create default drawing objects via keyboard
+// Create default drawing objects via keyboard
 #include <svx/svdpagv.hxx>
 #include <svl/stritem.hxx>
 #include <svx/svdpage.hxx>
@@ -179,7 +179,7 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
     if (nNewId == SID_INSERT_FRAME)						// vom Tbx-Button
         nNewId = SID_DRAW_TEXT;
 
-    //	#97016# CTRL-SID_OBJECT_SELECT is used to select the first object,
+    //	CTRL-SID_OBJECT_SELECT is used to select the first object,
     //	but not if SID_OBJECT_SELECT is the result of clicking a create function again,
     //	so this must be tested before changing nNewId below.
     BOOL bSelectFirst = ( nNewId == SID_OBJECT_SELECT && (rReq.GetModifier() & KEY_MOD1) );
@@ -187,8 +187,8 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
     BOOL bEx = IsDrawSelMode();
     if ( rReq.GetModifier() & KEY_MOD1 )
     {
-        //	#97016# always allow keyboard selection also on background layer
-        //	#98185# also allow creation of default objects if the same object type
+        //	always allow keyboard selection also on background layer
+        //	also allow creation of default objects if the same object type
         //	was already active
         bEx = TRUE;
     }
@@ -200,7 +200,7 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
 
         //	SID_FM_CREATE_CONTROL mit nNewFormId==0 (ohne Parameter) kommt beim Deaktivieren
         //	aus FuConstruct::SimpleMouseButtonUp
-        //	#59280# Execute fuer die Form-Shell, um im Controller zu deselektieren
+        //	Execute fuer die Form-Shell, um im Controller zu deselektieren
         if ( nNewId == SID_FM_CREATE_CONTROL )
         {
             GetViewData()->GetDispatcher().Execute(SID_FM_LEAVE_CREATE);
@@ -228,7 +228,7 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
 
     if ( bSelectFirst )
     {
-        //	#97016# select first draw object if none is selected yet
+        //	select first draw object if none is selected yet
         if(!pView->AreObjectsMarked())
         {
             // select first object
@@ -274,7 +274,7 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
     switch (nNewId)
     {
         case SID_OBJECT_SELECT:
-            //@#70206# Nicht immer zurueckschalten
+            // Nicht immer zurueckschalten
             if(pView->GetMarkedObjectList().GetMarkCount() == 0) SetDrawShell(bEx);
             pTabView->SetDrawFuncPtr(new FuSelection(this, pWin, pView, pDoc, aNewReq));
             break;
@@ -359,13 +359,13 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
     rBindings.Invalidate( SID_INSERT_DRAW );
     rBindings.Update( SID_INSERT_DRAW );
 
-    // #98185# Create default drawing objects via keyboard
+    // Create default drawing objects via keyboard
     // with qualifier construct directly
     FuPoor*	pFuActual = GetDrawFuncPtr();
 
     if(pFuActual && (rReq.GetModifier() & KEY_MOD1))
     {
-        // #98185# Create default drawing objects via keyboard
+        // Create default drawing objects via keyboard
         const ScAppOptions& rAppOpt = SC_MOD()->GetAppOptions();
         sal_uInt32 nDefaultObjectSizeWidth = rAppOpt.GetDefaultObjectSizeWidth();
         sal_uInt32 nDefaultObjectSizeHeight = rAppOpt.GetDefaultObjectSizeHeight();
@@ -395,7 +395,7 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
 
                     if ( nNewId == SID_DRAW_CAPTION || nNewId == SID_DRAW_CAPTION_VERTICAL )
                     {
-                        //	#105815# use KeyInput to start edit mode (FuText is created).
+                        //	use KeyInput to start edit mode (FuText is created).
                         //	For FuText objects, edit mode is handled within CreateDefaultObject.
                         //	KEY_F2 is handled in FuDraw::KeyInput.
 
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index 4462b75..4ab7881 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -269,7 +269,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
 
                 if ( nSlot == SID_JUMPTOMARK )
                 {
-                    //	#106586# URL has to be decoded for escaped characters (%20)
+                    //	URL has to be decoded for escaped characters (%20)
                     aAddress = INetURLObject::decode( aAddress, INET_HEX_ESCAPE,
                                                INetURLObject::DECODE_WITH_CHARSET,
                                             RTL_TEXTENCODING_UTF8 );
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index 504a050..367cb83 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -129,7 +129,7 @@ void ScTabViewShell::Activate(BOOL bMDI)
         ActivateView( TRUE, bFirstActivate );
         ActivateOlk( GetViewData() );
 
-        //	#56870# AutoCorrect umsetzen, falls der Writer seins neu angelegt hat
+        //	AutoCorrect umsetzen, falls der Writer seins neu angelegt hat
         UpdateDrawTextOutliner();
 
         //	RegisterNewTargetNames gibts nicht mehr
@@ -174,9 +174,9 @@ void ScTabViewShell::Activate(BOOL bMDI)
             SFX_APP()->Broadcast( SfxSimpleHint( SC_HINT_NAVIGATOR_UPDATEALL ) );
             bFirstActivate = FALSE;
 
-            // #116278# ReadExtOptions (view settings from Excel import) must also be done
+            // ReadExtOptions (view settings from Excel import) must also be done
             // after the ctor, because of the potential calls to Window::Show.
-            // Even after the fix for #104887# (Window::Show no longer notifies the access
+            // Even after a bugfix (Window::Show no longer notifies the access
             // bridge, it's done in ImplSetReallyVisible), there are problems if Window::Show
             // is called during the ViewShell ctor and reschedules asynchronous calls
             // (for example from the FmFormShell ctor).
@@ -248,7 +248,7 @@ void ScTabViewShell::Deactivate(BOOL bMDI)
 
     if( bMDI )
     {
-        //	#85421# during shell deactivation, shells must not be switched, or the loop
+        //	during shell deactivation, shells must not be switched, or the loop
         //	through the shell stack (in SfxDispatcher::DoDeactivate_Impl) will not work
         BOOL bOldDontSwitch = bDontSwitch;
         bDontSwitch = TRUE;
@@ -292,7 +292,7 @@ USHORT ScTabViewShell::PrepareClose(BOOL bUI, BOOL bForBrowsing)
     if ( pHdl && pHdl->IsInputMode() )
         pHdl->EnterHandler();
 
-    // #110797# draw text edit mode must be closed
+    // draw text edit mode must be closed
     FuPoor* pPoor = GetDrawFuncPtr();
     if ( pPoor && ( IsDrawTextShell() || pPoor->GetSlotID() == SID_DRAW_NOTEEDIT ) )
     {
@@ -304,7 +304,7 @@ USHORT ScTabViewShell::PrepareClose(BOOL bUI, BOOL bForBrowsing)
     if ( pDrView )
     {
         // force end of text edit, to be safe
-        // #128314# ScEndTextEdit must always be used, to ensure correct UndoManager
+        // ScEndTextEdit must always be used, to ensure correct UndoManager
         pDrView->ScEndTextEdit();
     }
 
@@ -704,7 +704,7 @@ void ScTabViewShell::SetPivotShell( BOOL bActive )
 {
     bActivePivotSh = bActive;
 
-    //	#68771# #76198# SetPivotShell is called from CursorPosChanged every time
+    //	SetPivotShell is called from CursorPosChanged every time
     //	-> don't change anything except switching between cell and pivot shell
 
     if ( eCurOST == OST_Pivot || eCurOST == OST_Cell )
@@ -1175,7 +1175,7 @@ void ScTabViewShell::PreparePrint( PrintDialog* pPrintDialog )
 ErrCode ScTabViewShell::DoPrint( SfxPrinter *pPrinter,
                                  PrintDialog *pPrintDialog, BOOL bSilent, BOOL bIsAPI )
 {
-    //	#72527# if SID_PRINTDOCDIRECT is executed and there's a selection,
+    //	if SID_PRINTDOCDIRECT is executed and there's a selection,
     //	ask if only the selection should be printed
 
     const ScMarkData& rMarkData = GetViewData()->GetMarkData();
@@ -1433,7 +1433,7 @@ BOOL ScTabViewShell::TabKeyInput(const KeyEvent& rKEvt)
     }
     else
     {
-        //	#51889# Spezialfall: Copy/Cut bei Mehrfachselektion -> Fehlermeldung
+        //	Spezialfall: Copy/Cut bei Mehrfachselektion -> Fehlermeldung
         //	(Slot ist disabled, SfxViewShell::KeyInput wuerde also kommentarlos verschluckt)
         KeyFuncType eFunc = aCode.GetFunction();
         if ( eFunc == KEYFUNC_CUT )
@@ -1450,7 +1450,7 @@ BOOL ScTabViewShell::TabKeyInput(const KeyEvent& rKEvt)
         if (!bUsed)
             bUsed = sal::static_int_cast<BOOL>(SfxViewShell::KeyInput( rKEvt ));    // accelerators
 
-        //	#74696# during inplace editing, some slots are handled by the
+        //	during inplace editing, some slots are handled by the
         //	container app and are executed during Window::KeyInput.
         //	-> don't pass keys to input handler that would be used there
         //	but should call slots instead.
@@ -1676,7 +1676,7 @@ void ScTabViewShell::Construct( BYTE nForceDesignMode )
     }
 
     // ViewInputHandler
-    //	#48721# jeder Task hat neuerdings sein eigenes InputWindow,
+    //	jeder Task hat neuerdings sein eigenes InputWindow,
     //	darum muesste eigentlich entweder jeder Task seinen InputHandler bekommen,
     //	oder das InputWindow muesste sich beim App-InputHandler anmelden, wenn der
     //	Task aktiv wird, oder das InputWindow muesste sich den InputHandler selbst
@@ -1832,9 +1832,9 @@ ScTabViewShell::ScTabViewShell( SfxViewFrame* pViewFrame,
 
     //	if switching back from print preview,
     //	restore the view settings that were active when creating the preview
-    //	#89897# ReadUserData must not happen from ctor, because the view's edit window
+    //	ReadUserData must not happen from ctor, because the view's edit window
     //	has to be shown by the sfx. ReadUserData is deferred until the first Activate call.
-    //	#106334# old DesignMode state from form layer must be restored, too
+    //	old DesignMode state from form layer must be restored, too
 
     BYTE nForceDesignMode = SC_FORCEMODE_NONE;
     if ( pOldSh && pOldSh->ISA( ScPreviewShell ) )
@@ -1885,7 +1885,7 @@ ScTabViewShell::~ScTabViewShell()
     RemoveSubShell();			// alle
     SetWindow(0);
 
-    //	#54104# alles auf NULL, falls aus dem TabView-dtor noch darauf zugegriffen wird
+    //	alles auf NULL, falls aus dem TabView-dtor noch darauf zugegriffen wird
     //!	(soll eigentlich nicht !??!?!)
 
     DELETEZ(pFontworkBarShell);
diff --git a/sc/source/ui/view/tabvwsh5.cxx b/sc/source/ui/view/tabvwsh5.cxx
index 05c3619..2fc8e45 100644
--- a/sc/source/ui/view/tabvwsh5.cxx
+++ b/sc/source/ui/view/tabvwsh5.cxx
@@ -107,20 +107,20 @@ void ScTabViewShell::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
                     //	beim "Save as" kann ein vorher schreibgeschuetztes Dokument
                     //	bearbeitbar werden, deshalb die Layer-Locks neu (#39884#)
                     //	(Invalidate etc. passiert schon vom Sfx her)
-                    //	#42091# bei SID_EDITDOC kommt kein SFX_HINT_TITLECHANGED, darum
+                    //	bei SID_EDITDOC kommt kein SFX_HINT_TITLECHANGED, darum
                     //	der eigene Hint aus DoSaveCompleted
                     //!	was ist mit SFX_HINT_SAVECOMPLETED ?
 
                     UpdateLayerLocks();
 
-                    //	#54891# Design-Modus bei jedem Speichern anzupassen, waere zuviel
+                    //	Design-Modus bei jedem Speichern anzupassen, waere zuviel
                     //	(beim Speichern unter gleichem Namen soll er unveraendert bleiben)
                     //	Darum nur bei SFX_HINT_MODECHANGED (vom ViewFrame)
                 }
                 break;
 
             case SFX_HINT_MODECHANGED:
-                //	#54891#/#58510# Da man sich nicht mehr darauf verlassen kann, woher
+                //	Da man sich nicht mehr darauf verlassen kann, woher
                 //	dieser Hint kommt, den Design-Modus immer dann umschalten, wenn der
                 //	ReadOnly-Status sich wirklich geaendert hat:
 
diff --git a/sc/source/ui/view/tabvwsh9.cxx b/sc/source/ui/view/tabvwsh9.cxx
index b81df4d..04fab7f 100644
--- a/sc/source/ui/view/tabvwsh9.cxx
+++ b/sc/source/ui/view/tabvwsh9.cxx
@@ -130,7 +130,7 @@ void ScTabViewShell::ExecGallery( SfxRequest& rReq )
             }
             else if ( nFormats & SGA_FORMAT_SOUND )
             {
-                //	#98115# for sounds (linked or not), insert a hyperlink button,
+                //	for sounds (linked or not), insert a hyperlink button,
                 //	like in Impress and Writer
 
                 GalleryExplorer* pGal = SVX_GALLERY();
diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx
index 3af81cf..9fae8ff 100644
--- a/sc/source/ui/view/tabvwsha.cxx
+++ b/sc/source/ui/view/tabvwsha.cxx
@@ -464,7 +464,7 @@ void ScTabViewShell::GetState( SfxItemSet& rSet )
                 break;
 
             case SID_PRINTPREVIEW:
-                // #58924# Toggle-Slot braucht einen State
+                // Toggle-Slot braucht einen State
                 rSet.Put( SfxBoolItem( nWhich, FALSE ) );
                 break;
 
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx
index 0f422b0..1c844bf 100644
--- a/sc/source/ui/view/tabvwshb.cxx
+++ b/sc/source/ui/view/tabvwshb.cxx
@@ -89,7 +89,7 @@ void ScTabViewShell::ConnectObject( SdrOle2Obj* pObj )
     uno::Reference < embed::XEmbeddedObject > xObj = pObj->GetObjRef();
     Window* pWin = GetActiveWin();
 
-    //	#41412# wenn schon connected ist, nicht nochmal SetObjArea/SetSizeScale
+    //	wenn schon connected ist, nicht nochmal SetObjArea/SetSizeScale
 
     SfxInPlaceClient* pClient = FindIPClient( xObj, pWin );
     if ( !pClient )
@@ -117,7 +117,7 @@ void ScTabViewShell::ConnectObject( SdrOle2Obj* pObj )
 
 BOOL ScTabViewShell::ActivateObject( SdrOle2Obj* pObj, long nVerb )
 {
-    // #41081# Gueltigkeits-Hinweisfenster nicht ueber dem Objekt stehenlassen
+    // Gueltigkeits-Hinweisfenster nicht ueber dem Objekt stehenlassen
     RemoveHintWindow();
 
     uno::Reference < embed::XEmbeddedObject > xObj = pObj->GetObjRef();
diff --git a/sc/source/ui/view/tabvwshd.cxx b/sc/source/ui/view/tabvwshd.cxx
index b70237f..97ddd93 100644
--- a/sc/source/ui/view/tabvwshd.cxx
+++ b/sc/source/ui/view/tabvwshd.cxx
@@ -64,7 +64,7 @@
 
 Window* ScTabViewShell::GetDialogParent()
 {
-    //	#95513# if a ref-input dialog is open, use it as parent
+    //	if a ref-input dialog is open, use it as parent
     //	(necessary when a slot is executed from the dialog's OK handler)
     if ( nCurRefDlgId && nCurRefDlgId == SC_MOD()->GetCurRefDlgId() )
     {
diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx
index 9617b81..e733398 100644
--- a/sc/source/ui/view/tabvwshe.cxx
+++ b/sc/source/ui/view/tabvwshe.cxx
@@ -75,7 +75,7 @@ String ScTabViewShell::GetSelectionText( BOOL bWholeWord )
             if ( bInFormatDialog && aRange.aStart.Row() != aRange.aEnd.Row() )
             {
                 // Range auf eine Datenzeile begrenzen
-                // (#48613# nur wenn der Aufruf aus einem Format-Dialog kommt)
+                // (nur wenn der Aufruf aus einem Format-Dialog kommt)
                 ScHorizontalCellIterator aIter( pDoc, aRange.aStart.Tab(),
                     aRange.aStart.Col(), aRange.aStart.Row(),
                     aRange.aEnd.Col(), aRange.aEnd.Row() );
@@ -157,7 +157,7 @@ void ScTabViewShell::InsertURL( const String& rName, const String& rURL, const S
         }
         else
         {
-            //	#91216# if the view is not active, InsertURLField doesn't work
+            //	if the view is not active, InsertURLField doesn't work
             //	-> use InsertBookmark to directly manipulate cell content
             //	bTryReplace=TRUE -> if cell contains only one URL, replace it
 
diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx
index 004a9ec..e9c6995 100644
--- a/sc/source/ui/view/tabvwshg.cxx
+++ b/sc/source/ui/view/tabvwshg.cxx
@@ -106,7 +106,6 @@ void ScTabViewShell::InsertURLButton( const String& rName, const String& rURL,
 
         if ( ::avmedia::MediaWindow::isMediaURL( rURL ) )
     {
-        // #105638# OJ
         aAny <<= sal_True;
         xPropSet->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DispatchURLInternal" )), aAny );
     }
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index af2c533..07bd553 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -741,7 +741,7 @@ ScMarkType ScViewData::GetSimpleArea( SCCOL& rStartCol, SCROW& rStartRow, SCTAB&
 {
     //	parameter bMergeMark is no longer needed: The view's selection is never modified
     //	(a local copy is used), and a multi selection that adds to a single range can always
-    //	be treated like a single selection (#108266# - GetSimpleArea isn't used in selection
+    //	be treated like a single selection (GetSimpleArea isn't used in selection
     //	handling itself)
 
     ScRange aRange;
@@ -1013,7 +1013,7 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich,
         Size aPaperSize = pView->GetActiveWin()->PixelToLogic( Size( nSizeXPix, nSizeYPix ), GetLogicMode() );
         if ( bBreak && !bAsianVertical && SC_MOD()->GetInputOptions().GetTextWysiwyg() )
         {
-            //	#95593# if text is formatted for printer, use the exact same paper width
+            //	if text is formatted for printer, use the exact same paper width
             //	(and same line breaks) as for output.
 
             Fraction aFract(1,1);
@@ -1318,7 +1318,7 @@ void ScViewData::EditGrowY( BOOL bInitial )
     long		nOldBottom = aArea.Bottom();
     long		nTextHeight = pEngine->GetTextHeight();
 
-    //	#106635# When editing a formula in a cell with optimal height, allow a larger portion
+    //	When editing a formula in a cell with optimal height, allow a larger portion
     //	to be clipped before extending to following rows, to avoid obscuring cells for
     //	reference input (next row is likely to be useful in formulas).
     long nAllowedExtra = SC_GROWY_SMALL_EXTRA;
@@ -2114,7 +2114,7 @@ void ScViewData::CalcPPT()
         nPPTX = nPPTX / pDocShell->GetOutputFactor();	// Faktor ist Drucker zu Bildschirm
     nPPTY = ScGlobal::nScreenPPTY * (double) GetZoomY();
 
-    //	#83616# if detective objects are present,
+    //	if detective objects are present,
     //	try to adjust horizontal scale so the most common column width has minimal rounding errors,
     //	to avoid differences between cell and drawing layer output
 
@@ -2232,7 +2232,7 @@ void ScViewData::ReadUserData(const String& rData)
     xub_StrLen nCount = rData.GetTokenCount(';');
     if ( nCount <= 2 )
     {
-        //	#45208# beim Reload in der Seitenansicht sind evtl. die Preview-UserData
+        //	beim Reload in der Seitenansicht sind evtl. die Preview-UserData
         //	stehengelassen worden. Den Zoom von der Preview will man hier nicht...
         OSL_FAIL("ReadUserData: das sind nicht meine Daten");
         return;
@@ -2503,7 +2503,7 @@ void ScViewData::ReadExtOptions( const ScExtDocOptions& rDocOpt )
             {
                 Point aPixel = Application::GetDefaultDevice()->LogicToPixel(
                                 rTabSett.maSplitPos, MapMode( MAP_TWIP ) );  //! Zoom?
-                // #109648# - the test for use of printer metrics for text formatting here
+                // the test for use of printer metrics for text formatting here
                 // effectively results in the nFactor = 1.0 regardless of the Option setting.
                 if( pDocShell && SC_MOD()->GetInputOptions().GetTextWysiwyg())
                 {
@@ -2917,7 +2917,7 @@ BOOL ScViewData::UpdateFixX( SCTAB nTab )				// TRUE = Wert geaendert
         return FALSE;
 
     ScDocument* pLocalDoc = GetDocument();
-    if (!pLocalDoc->HasTable(nTab))          // #114007# if called from reload, the sheet may not exist
+    if (!pLocalDoc->HasTable(nTab))          // if called from reload, the sheet may not exist
         return FALSE;
 
     SCCOL nFix = pTabData[nTab]->nFixPosX;
@@ -2952,7 +2952,7 @@ BOOL ScViewData::UpdateFixY( SCTAB nTab )				// TRUE = Wert geaendert
         return FALSE;
 
     ScDocument* pLocalDoc = GetDocument();
-    if (!pLocalDoc->HasTable(nTab))          // #114007# if called from reload, the sheet may not exist
+    if (!pLocalDoc->HasTable(nTab))          // if called from reload, the sheet may not exist
         return FALSE;
 
     SCROW nFix = pTabData[nTab]->nFixPosY;
@@ -2995,7 +2995,7 @@ void ScViewData::UpdateOutlinerFlags( Outliner& rOutl ) const
 
     rOutl.SetCalcFieldValueHdl( LINK( SC_MOD(), ScModule, CalcFieldValueHdl ) );
 
-    //	#97417# don't call GetSpellChecker if online spelling isn't enabled.
+    //	don't call GetSpellChecker if online spelling isn't enabled.
     //	The language for AutoCorrect etc. is taken from the pool defaults
     //	(set in ScDocument::UpdateDrawLanguages)
 
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index 55f60d1..922fb57 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -611,7 +611,7 @@ void ScViewFunc::PasteFromSystem()
 
     if (pOwnClip)
     {
-        // #129384# keep a reference in case the clipboard is changed during PasteFromClip
+        // keep a reference in case the clipboard is changed during PasteFromClip
         uno::Reference<datatransfer::XTransferable> aOwnClipRef( pOwnClip );
         PasteFromClip( IDF_ALL, pOwnClip->GetDocument(),
                         PASTE_NOFUNC, FALSE, FALSE, FALSE, INS_NONE, IDF_NONE,
@@ -694,7 +694,7 @@ void ScViewFunc::PasteFromSystem()
                 PasteFromSystem(FORMAT_GDIMETAFILE);
             else if (aDataHelper.HasFormat(FORMAT_BITMAP))
                 PasteFromSystem(FORMAT_BITMAP);
-            // #89579# xxx_OLE formats come last, like in SotExchange tables
+            // xxx_OLE formats come last, like in SotExchange tables
             else if (aDataHelper.HasFormat( SOT_FORMATSTR_ID_EMBED_SOURCE_OLE ))
                 PasteFromSystem( SOT_FORMATSTR_ID_EMBED_SOURCE_OLE );
             else if (aDataHelper.HasFormat( SOT_FORMATSTR_ID_LINK_SOURCE_OLE ))
@@ -794,7 +794,7 @@ void ScViewFunc::PasteFromTransferable( const uno::Reference<datatransfer::XTran
                 nFormatId = FORMAT_GDIMETAFILE;
             else if (aDataHelper.HasFormat(FORMAT_BITMAP))
                 nFormatId = FORMAT_BITMAP;
-            // #89579# xxx_OLE formats come last, like in SotExchange tables
+            // xxx_OLE formats come last, like in SotExchange tables
             else if (aDataHelper.HasFormat( SOT_FORMATSTR_ID_EMBED_SOURCE_OLE ))
                 nFormatId = SOT_FORMATSTR_ID_EMBED_SOURCE_OLE;
             else if (aDataHelper.HasFormat( SOT_FORMATSTR_ID_LINK_SOURCE_OLE ))
@@ -818,7 +818,7 @@ BOOL ScViewFunc::PasteFromSystem( ULONG nFormatId, BOOL bApi )
     ScTransferObj* pOwnClip = ScTransferObj::GetOwnClipboard( pWin );
     if ( nFormatId == 0 && pOwnClip )
     {
-        // #129384# keep a reference in case the clipboard is changed during PasteFromClip
+        // keep a reference in case the clipboard is changed during PasteFromClip
         uno::Reference<datatransfer::XTransferable> aOwnClipRef( pOwnClip );
         PasteFromClip( IDF_ALL, pOwnClip->GetDocument(),
                         PASTE_NOFUNC, FALSE, FALSE, FALSE, INS_NONE, IDF_NONE,
@@ -1119,7 +1119,7 @@ BOOL ScViewFunc::PasteFromClip( USHORT nFlags, ScDocument* pClipDoc,
         SCCOL nBlockAddX = nEndCol-nStartCol;
         SCROW nBlockAddY = nEndRow-nStartRow;
 
-        //	#58422# Nachfrage, wenn die Selektion groesser als 1 Zeile/Spalte, aber kleiner
+        //	Nachfrage, wenn die Selektion groesser als 1 Zeile/Spalte, aber kleiner
         //	als das Clipboard ist (dann wird ueber die Selektion hinaus eingefuegt)
 
         //	ClipSize is not size, but difference
@@ -1190,12 +1190,12 @@ BOOL ScViewFunc::PasteFromClip( USHORT nFlags, ScDocument* pClipDoc,
     BOOL bInsertCells = ( eMoveMode != INS_NONE && !bOffLimits );
     if ( bInsertCells )
     {
-        //	#94115# Instead of EnterListAction, the paste undo action is merged into the
+        //	Instead of EnterListAction, the paste undo action is merged into the
         //	insert action, so Repeat can insert the right cells
 
         MarkRange( aUserRange );			// wird vor CopyFromClip sowieso gesetzt
 
-        // #72930# CutMode is reset on insertion of cols/rows but needed again on cell move
+        // CutMode is reset on insertion of cols/rows but needed again on cell move
         BOOL bCut = pClipDoc->IsCutMode();
         if (!InsertCells( eMoveMode, bRecord, TRUE ))	// is inserting possible?
         {
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx
index bb2c9a6..c15cccb 100644
--- a/sc/source/ui/view/viewfun4.cxx
+++ b/sc/source/ui/view/viewfun4.cxx
@@ -531,7 +531,7 @@ void ScViewFunc::DoSheetConversion( const ScConversionParam& rConvParam, BOOL bR
     //  ab hier kein return mehr
 
     BOOL bOldDis = pDoc->IsIdleDisabled();
-    pDoc->DisableIdle( TRUE );   // #42726# stop online spelling
+    pDoc->DisableIdle( TRUE );   // stop online spelling
 
     // *** create and init the edit engine *** --------------------------------
 
@@ -700,7 +700,7 @@ BOOL ScViewFunc::PasteFile( const Point& rPos, const String& rFile, BOOL bLink )
         if( xObj.is() )
             return PasteObject( rPos, xObj );
 
-        // #105851# If an OLE object can't be created, insert a URL button
+        // If an OLE object can't be created, insert a URL button
 
         GetViewData()->GetViewShell()->InsertURLButton( aStrURL, aStrURL, EMPTY_STRING, &rPos );
         return TRUE;
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index 9a8ed54..9705590 100644
--- a/sc/source/ui/view/viewfun5.cxx
+++ b/sc/source/ui/view/viewfun5.cxx
@@ -523,7 +523,7 @@ BOOL ScViewFunc::PasteDataFormat( ULONG nFormatId,
                     pObject = aIter.Next();
                 }
 
-                nObjCount += pPage->GetObjCount();			// #105888# count group object only once
+                nObjCount += pPage->GetObjCount();			// count group object only once
             }
 
             PasteDraw( aPos, pModel, (nObjCount > 1) );		// grouped if more than 1 object
@@ -557,7 +557,7 @@ BOOL ScViewFunc::PasteDataFormat( ULONG nFormatId,
                     // ensure correct sheet indexes
                     aSource.aStart.SetTab( nSrcTab );
                     aSource.aEnd.SetTab( nSrcTab );
-// #92240# don't use selection area: if cursor is moved in Excel after Copy, selection
+// don't use selection area: if cursor is moved in Excel after Copy, selection
 // represents the new cursor position and not the copied area
                 }
                 else
diff --git a/sc/source/ui/view/viewfun7.cxx b/sc/source/ui/view/viewfun7.cxx
index 63f4fb0..0e0d8af 100644
--- a/sc/source/ui/view/viewfun7.cxx
+++ b/sc/source/ui/view/viewfun7.cxx
@@ -92,7 +92,7 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, SdrModel* pModel,
     MakeDrawLayer();
     Point aPos( rLogicPos );
 
-    //	#64184# MapMode am Outliner-RefDevice muss stimmen (wie in FuText::MakeOutliner)
+    //	MapMode am Outliner-RefDevice muss stimmen (wie in FuText::MakeOutliner)
     //!	mit FuText::MakeOutliner zusammenfassen?
     MapMode aOldMapMode;
     OutputDevice* pRef = GetViewData()->GetDocument()->GetDrawLayer()->GetRefDevice();
@@ -166,7 +166,7 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, SdrModel* pModel,
                     pNeuObj->SetModel(pDrawModel);
                     pNeuObj->SetPage(pDestPage);
 
-                    //	#68787# copy graphics within the same model - always needs new name
+                    //	copy graphics within the same model - always needs new name
                     if ( pNeuObj->ISA(SdrGrafObj) && !bPasteIsMove )
                         pNeuObj->SetName(((ScDrawLayer*)pDrawModel)->GetNewGraphicName());
 
@@ -194,7 +194,7 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, SdrModel* pModel,
         Size aSize = aView.GetAllMarkedRect().GetSize();
         lcl_AdjustInsertPos( GetViewData(), aPos, aSize );
 
-        //	#41333# Markierung nicht aendern, wenn Ole-Objekt aktiv
+        //	Markierung nicht aendern, wenn Ole-Objekt aktiv
         //	(bei Drop aus Ole-Objekt wuerde sonst mitten im ExecuteDrag deaktiviert!)
 
         ULONG nOptions = 0;
@@ -202,7 +202,7 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, SdrModel* pModel,
         if ( pClient && pClient->IsObjectInPlaceActive() )
             nOptions |= SDRINSERT_DONTMARK;
 
-        // #89247# Set flag for ScDocument::UpdateChartListeners() which is
+        // Set flag for ScDocument::UpdateChartListeners() which is
         // called during paste.
         if ( !bSameDocClipboard )
             GetViewData()->GetDocument()->SetPastingDrawFromOtherDoc( TRUE );
@@ -212,7 +212,7 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, SdrModel* pModel,
         if ( !bSameDocClipboard )
             GetViewData()->GetDocument()->SetPastingDrawFromOtherDoc( FALSE );
 
-        // #68991# Paste puts all objects on the active (front) layer
+        // Paste puts all objects on the active (front) layer
         // controls must be on SC_LAYER_CONTROLS
 
         SCTAB nTab = GetViewData()->GetTabNo();
@@ -230,7 +230,7 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, SdrModel* pModel,
             }
         }
 
-        // #75299# all graphics objects must have names
+        // all graphics objects must have names
         GetViewData()->GetDocument()->EnsureGraphicNames();
     }
 
@@ -244,7 +244,7 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, SdrModel* pModel,
         pRef->SetMapMode( aOldMapMode );
 
     // GetViewData()->GetViewShell()->SetDrawShell( TRUE );
-    // #99759# It is not sufficient to just set the DrawShell if we pasted, for
+    // It is not sufficient to just set the DrawShell if we pasted, for
     // example, a chart.  SetDrawShellOrSub() would only work for D&D in the
     // same document but not if inserting from the clipboard, therefore
     // MarkListHasChanged() is what we need.
@@ -380,9 +380,9 @@ BOOL ScViewFunc::PasteGraphic( const Point& rPos, const Graphic& rGraphic,
     Rectangle aRect(aPos, aSize);
     SdrGrafObj* pGrafObj = new SdrGrafObj(rGraphic, aRect);
 
-    // #118522# calling SetGraphicLink here doesn't work
+    // calling SetGraphicLink here doesn't work
 
-    //	#49961# Pfad wird nicht mehr als Name der Grafik gesetzt
+    //	Pfad wird nicht mehr als Name der Grafik gesetzt
 
     ScDrawLayer* pLayer = (ScDrawLayer*) pScDrawView->GetModel();
     String aName = pLayer->GetNewGraphicName();					// "Grafik x"
@@ -391,7 +391,7 @@ BOOL ScViewFunc::PasteGraphic( const Point& rPos, const Graphic& rGraphic,
     // nicht markieren wenn Ole
     pScDrawView->InsertObjectSafe(pGrafObj, *pScDrawView->GetSdrPageView());
 
-    // #118522# SetGraphicLink has to be used after inserting the object,
+    // SetGraphicLink has to be used after inserting the object,
     // otherwise an empty graphic is swapped in and the contact stuff crashes.
     // See #i37444#.
     if (rFile.Len())
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index b0be5ca..fc5c715 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -548,7 +548,7 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, const String& rS
             USHORT nError = pArr->GetCodeError();
             if ( !nError )
             {
-                //	#68693# update list of recent functions with all functions that
+                //	update list of recent functions with all functions that
                 //	are not within parentheses
 
                 ScModule* pScMod = SC_MOD();
@@ -1055,7 +1055,7 @@ void ScViewFunc::ApplyAttributes( const SfxItemSet* pDialogSet,
     aNewAttrs.DeleteUnchanged( &aOldAttrs );
 
     if ( pDialogSet->GetItemState( ATTR_VALUE_FORMAT ) == SFX_ITEM_SET )
-    {	// #82521# don't reset to default SYSTEM GENERAL if not intended
+    {	// don't reset to default SYSTEM GENERAL if not intended
         sal_uInt32 nOldFormat =
             ((const SfxUInt32Item&)pOldSet->Get( ATTR_VALUE_FORMAT )).GetValue();
         sal_uInt32 nNewFormat =
@@ -1075,7 +1075,7 @@ void ScViewFunc::ApplyAttributes( const SfxItemSet* pDialogSet,
                 aNewAttrs.GetItemSet().Put(
                     SvxLanguageItem( eNewLang, ATTR_LANGUAGE_FORMAT ) );
 
-                //	#40606# nur die Sprache geaendert -> Zahlformat-Attribut nicht anfassen
+                //	nur die Sprache geaendert -> Zahlformat-Attribut nicht anfassen
                 sal_uInt32 nNewMod = nNewFormat % SV_COUNTRY_LANGUAGE_OFFSET;
                 if ( nNewMod == ( nOldFormat % SV_COUNTRY_LANGUAGE_OFFSET ) &&
                      nNewMod <= SV_MAX_ANZ_STANDARD_FORMATE )
@@ -1709,7 +1709,7 @@ void ScViewFunc::DeleteCells( DelCellCmd eCmd, BOOL bRecord )
             }
         }
 
-        //	#58106# Cursor direkt hinter den geloeschten Bereich setzen
+        //	Cursor direkt hinter den geloeschten Bereich setzen
         SCCOL nCurX = GetViewData()->GetCurX();
         SCROW nCurY = GetViewData()->GetCurY();
         if ( eCmd==DEL_CELLSLEFT || eCmd==DEL_DELCOLS )
@@ -1895,7 +1895,7 @@ void ScViewFunc::DeleteMulti( BOOL bRows, BOOL bRecord )
 
     CellContentChanged();
 
-    //	#58106# Cursor direkt hinter den ersten geloeschten Bereich setzen
+    //	Cursor direkt hinter den ersten geloeschten Bereich setzen
     SCCOL nCurX = GetViewData()->GetCurX();
     SCROW nCurY = GetViewData()->GetCurY();
     if ( bRows )
@@ -2033,7 +2033,7 @@ void ScViewFunc::DeleteContents( USHORT nFlags, BOOL bRecord )
         if (nFlags & IDF_EDITATTR)			// Edit-Engine-Attribute
             nUndoDocFlags |= IDF_STRING;	// -> Zellen werden geaendert
         if (nFlags & IDF_NOTE)
-            nUndoDocFlags |= IDF_CONTENTS;	// #68795# copy all cells with their notes
+            nUndoDocFlags |= IDF_CONTENTS;	// copy all cells with their notes
         // do not copy note captions to undo document
         nUndoDocFlags |= IDF_NOCAPTIONS;
         pDoc->CopyToDocument( aCopyRange, nUndoDocFlags, bMulti, pUndoDoc, &aFuncMark );
@@ -2686,7 +2686,7 @@ void ScViewFunc::SetNumberFormat( short nFormatType, ULONG nAdd )
     LanguageType		eLanguage = ScGlobal::eLnge;
     ScPatternAttr		aNewAttrs( pDoc->GetPool() );
 
-    //	#67936# always take language from cursor position, even if there is a selection
+    //	always take language from cursor position, even if there is a selection
 
     sal_uInt32 nCurrentNumberFormat;
     pDoc->GetNumberFormat( pViewData->GetCurX(),
commit 3ddebbeb6539116e082d3f4f82a3b7697f6e971c
Author: Guillaume Poussel <gpoussel at gmail.com>
Date:   Sun Feb 27 23:59:21 2011 +0100

    Remove bogus comments.

diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx
index 274464c..9d6763e 100644
--- a/sc/source/core/data/attarray.cxx
+++ b/sc/source/core/data/attarray.cxx
@@ -1505,7 +1505,7 @@ void ScAttrArray::SetPatternAreaSafe( SCROW nStartRow, SCROW nEndRow,
 
             if (pItem->IsOverlapped() || pItem->HasAutoFilter())
             {
-                //	#108045# default-constructing a ScPatternAttr for DeleteArea doesn't work
+                //	default-constructing a ScPatternAttr for DeleteArea doesn't work
                 //	because it would have no cell style information.
                 //	Instead, the document's GetDefPattern is copied. Since it is passed as
                 //	pWantedPattern, no special treatment of default is needed here anymore.
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index dc85236..849898a 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -287,7 +287,7 @@ long ScColumn::GetNeededSize( SCROW nRow, OutputDevice* pDev,
 
                     if ( bBreak && !rOptions.bTotalSize )
                     {
-                        //	#47744# limit size for line break
+                        //	limit size for line break
                         long nCmp = pDev->GetFont().GetSize().Height() * SC_ROT_BREAK_FACTOR;
                         if ( nHeight > nCmp )
                             nHeight = nCmp;
@@ -367,7 +367,7 @@ long ScColumn::GetNeededSize( SCROW nRow, OutputDevice* pDev,
                 bool bTextWysiwyg = ( pDev->GetOutDevType() == OUTDEV_PRINTER );
                 if ( bTextWysiwyg )
                 {
-                    //	#95593# if text is formatted for printer, don't use PixelToLogic,
+                    //	if text is formatted for printer, don't use PixelToLogic,
                     //	to ensure the exact same paper width (and same line breaks) as in
                     //	ScEditUtil::GetEditArea, used for output.
 
@@ -458,7 +458,7 @@ long ScColumn::GetNeededSize( SCROW nRow, OutputDevice* pDev,
 
                     if ( bBreak && !rOptions.bTotalSize )
                     {
-                        //	#47744# limit size for line break
+                        //	limit size for line break
                         long nCmp = aOldFont.GetSize().Height() * SC_ROT_BREAK_FACTOR;
                         if ( nValue > nCmp )
                             nValue = nCmp;
diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
index ee92c41..12441c9 100644
--- a/sc/source/core/data/documen8.cxx
+++ b/sc/source/core/data/documen8.cxx
@@ -314,7 +314,7 @@ void ScDocument::ModifyStyleSheet( SfxStyleSheetBase& rStyleSheet,
 
 void ScDocument::CopyStdStylesFrom( ScDocument* pSrcDoc )
 {
-    // #b5017505# number format exchange list has to be handled here, too
+    // number format exchange list has to be handled here, too
     NumFmtMergeHandler aNumFmtMergeHdl(this, pSrcDoc);
     xPoolHelper->GetStylePool()->CopyStdStylesFrom( pSrcDoc->xPoolHelper->GetStylePool() );
 }
@@ -699,7 +699,7 @@ BOOL ScDocument::OnlineSpellInRange( const ScRange& rSpellRange, ScAddress& rSpe
         {
             if (!pEngine)
             {
-                //	#71154# ScTabEditEngine is needed
+                //	ScTabEditEngine is needed
                 //	because MapMode must be set for some old documents
                 pEngine = new ScTabEditEngine( this );
                 pEngine->SetControlWord( pEngine->GetControlWord() |
@@ -762,7 +762,7 @@ BOOL ScDocument::OnlineSpellInRange( const ScRange& rSpellRange, ScAddress& rSpe
                 //	Paint
                 if (pShell)
                 {
-                    //	#47751# Seitenvorschau ist davon nicht betroffen
+                    //	Seitenvorschau ist davon nicht betroffen
                     //	(sollte jedenfalls nicht)
                     ScPaintHint aHint( ScRange( nCol, nRow, nTab ), PAINT_GRID );
                     aHint.SetPrintFlag( FALSE );
@@ -823,7 +823,7 @@ BOOL ScDocument::ContinueOnlineSpelling()
 
     //!	use one EditEngine for both calls
 
-    //	#41504# first check visible range
+    //	first check visible range
     BOOL bResult = OnlineSpellInRange( aVisSpellRange, aVisSpellPos, SPELL_MAXTEST_VIS );
 
     //	during first pass through visible range, always continue
@@ -1048,7 +1048,7 @@ void ScDocument::UpdateDdeLinks()
         USHORT nCount = rLinks.Count();
         USHORT i;
 
-        //  #49226# falls das Updaten laenger dauert, erstmal alle Werte
+        //  falls das Updaten laenger dauert, erstmal alle Werte
         //  zuruecksetzen, damit nichts altes (falsches) stehen bleibt
         BOOL bAny = FALSE;
         for (i=0; i<nCount; i++)
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx
index c557e29..6902be4 100644
--- a/sc/source/core/data/documen9.cxx
+++ b/sc/source/core/data/documen9.cxx
@@ -129,7 +129,7 @@ void ScDocument::TransferDrawPage(ScDocument* pSrcDoc, SCTAB nSrcPos, SCTAB nDes
         }
     }
 
-    //	#71726# make sure the data references of charts are adapted
+    //	make sure the data references of charts are adapted
     //	(this must be after InsertObject!)
     ScChartHelper::AdjustRangesOfChartsOnDestinationPage( pSrcDoc, this, nSrcPos, nDestPos );
 }
@@ -142,7 +142,7 @@ void ScDocument::InitDrawLayer( SfxObjectShell* pDocShell )
     if (!pDrawLayer)
     {
         String aName;
-        if ( pShell && !pShell->IsLoading() )		// #88438# don't call GetTitle while loading
+        if ( pShell && !pShell->IsLoading() )		// don't call GetTitle while loading
             aName = pShell->GetTitle();
         pDrawLayer = new ScDrawLayer( this, aName );
         if (GetLinkManager())
@@ -167,7 +167,7 @@ void ScDocument::InitDrawLayer( SfxObjectShell* pDocShell )
                 pTab[nTab]->GetName(aTabName);
                 pDrawLayer->ScRenamePage( nTab, aTabName );
 
-                pTab[nTab]->SetDrawPageSize(false,false);     // #54782# set the right size immediately
+                pTab[nTab]->SetDrawPageSize(false,false);     // set the right size immediately
             }
         }
 
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 403dfdd..3321b4c 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -398,7 +398,7 @@ BOOL ScDocument::InsertTab( SCTAB nPos, const String& rName,
                     pCondFormList->UpdateReference( URM_INSDEL, aRange, 0,0,1 );
                 if ( pValidationList )
                     pValidationList->UpdateReference( URM_INSDEL, aRange, 0,0,1 );
-                // #81844# sheet names of references are not valid until sheet is inserted
+                // sheet names of references are not valid until sheet is inserted
                 if ( pChartListenerCollection )
                     pChartListenerCollection->UpdateScheduledSeriesRanges();
 
@@ -488,7 +488,7 @@ BOOL ScDocument::DeleteTab( SCTAB nTab, ScDocument* pRefUndoDoc )
                             pTab[i]->StartAllListeners();
                     SetDirty();
                 }
-                // #81844# sheet names of references are not valid until sheet is deleted
+                // sheet names of references are not valid until sheet is deleted
                 pChartListenerCollection->UpdateScheduledSeriesRanges();
 
                 SetAutoCalc( bOldAutoCalc );
@@ -895,7 +895,7 @@ BOOL ScDocument::InsertRow( SCCOL nStartCol, SCTAB nStartTab,
             if (pTab[i] && (!pTabMark || pTabMark->GetTableSelect(i)))
                 pTab[i]->InsertRow( nStartCol, nEndCol, nStartRow, nSize );
 
-        //	#82991# UpdateRef for drawing layer must be after inserting,
+        //	UpdateRef for drawing layer must be after inserting,
         //	when the new row heights are known.
         for (i=nStartTab; i<=nEndTab; i++)
             if (pTab[i] && (!pTabMark || pTabMark->GetTableSelect(i)))
@@ -914,7 +914,7 @@ BOOL ScDocument::InsertRow( SCCOL nStartCol, SCTAB nStartTab,
             for (i=0; i<=MAXTAB; i++)
                 if (pTab[i])
                     pTab[i]->StartNeededListeners();
-            // #69592# at least all cells using range names pointing relative
+            // at least all cells using range names pointing relative
             // to the moved range must recalculate
             for (i=0; i<=MAXTAB; i++)
                 if (pTab[i])
@@ -1003,7 +1003,7 @@ void ScDocument::DeleteRow( SCCOL nStartCol, SCTAB nStartTab,
         for (i=0; i<=MAXTAB; i++)
             if (pTab[i])
                 pTab[i]->StartNeededListeners();
-        // #69592# at least all cells using range names pointing relative to
+        // at least all cells using range names pointing relative to
         // the moved range must recalculate
         for (i=0; i<=MAXTAB; i++)
             if (pTab[i])
@@ -1106,7 +1106,7 @@ BOOL ScDocument::InsertCol( SCROW nStartRow, SCTAB nStartTab,
             for (i=0; i<=MAXTAB; i++)
                 if (pTab[i])
                     pTab[i]->StartNeededListeners();
-            // #69592# at least all cells using range names pointing relative
+            // at least all cells using range names pointing relative
             // to the moved range must recalculate
             for (i=0; i<=MAXTAB; i++)
                 if (pTab[i])
@@ -1193,7 +1193,7 @@ void ScDocument::DeleteCol(SCROW nStartRow, SCTAB nStartTab, SCROW nEndRow, SCTA
         for (i=0; i<=MAXTAB; i++)
             if (pTab[i])
                 pTab[i]->StartNeededListeners();
-        // #69592# at least all cells using range names pointing relative to
+        // at least all cells using range names pointing relative to
         // the moved range must recalculate
         for (i=0; i<=MAXTAB; i++)
             if (pTab[i])
@@ -2050,7 +2050,7 @@ void ScDocument::CopyBlockFromClip( SCCOL nCol1, SCROW nRow1,
                 while (!ppClipTab[nClipTab]) nClipTab = (nClipTab+1) % (MAXTAB+1);
                 SCsTAB nDz = ((SCsTAB)i) - nClipTab;
 
-                //  #89081# ranges of consecutive selected tables (in clipboard and dest. doc)
+                //  ranges of consecutive selected tables (in clipboard and dest. doc)
                 //  must be handled in one UpdateReference call
                 SCTAB nFollow = 0;
                 while ( i + nFollow < nTabEnd
@@ -3135,7 +3135,7 @@ void ScDocument::CompileXML()
     ScProgress aProgress( GetDocumentShell(), ScGlobal::GetRscString(
                 STR_PROGRESS_CALCULATING ), GetXMLImportedFormulaCount() );
 
-    // #b6355215# set AutoNameCache to speed up automatic name lookup
+    // set AutoNameCache to speed up automatic name lookup
     DBG_ASSERT( !pAutoNameCache, "AutoNameCache already set" );
     pAutoNameCache = new ScAutoNameCache( this );
 
diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index a1e1095..9a34ee7 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -1944,7 +1944,7 @@ BOOL ScDPDataMember::HasData( long nMeasure, const ScDPSubTotalState& rSubState
                                                         rSubState.eColForce != rSubState.eRowForce )
         return FALSE;
 
-    //	#74542# HasData can be different between measures!
+    //	HasData can be different between measures!
 
     const ScDPAggData* pAgg = GetConstAggData( nMeasure, rSubState );
     if (!pAgg)
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index bb82473..abd7db5 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -262,7 +262,7 @@ ScDrawLayer::ScDrawLayer( ScDocument* pDocument, const String& rName ) :
     rPool.SetPoolDefaultItem(SdrShadowXDistItem(300));
     rPool.SetPoolDefaultItem(SdrShadowYDistItem(300));
 
-    // #111216# default for script spacing depends on locale, see SdDrawDocument ctor in sd
+    // default for script spacing depends on locale, see SdDrawDocument ctor in sd
     LanguageType eOfficeLanguage = Application::GetSettings().GetLanguage();
     if ( eOfficeLanguage == LANGUAGE_KOREAN || eOfficeLanguage == LANGUAGE_KOREAN_JOHAB ||
          eOfficeLanguage == LANGUAGE_JAPANESE )
@@ -289,7 +289,7 @@ ScDrawLayer::ScDrawLayer( ScDocument* pDocument, const String& rName ) :
     Outliner& rHitOutliner = GetHitTestOutliner();
     rHitOutliner.SetCalcFieldValueHdl( LINK( pScMod, ScModule, CalcFieldValueHdl ) );
 
-    // #95129# SJ: set FontHeight pool defaults without changing static SdrEngineDefaults
+    // set FontHeight pool defaults without changing static SdrEngineDefaults
     SfxItemPool* pOutlinerPool = rOutliner.GetEditTextObjectPool();
     if ( pOutlinerPool )
          pItemPool->SetPoolDefaultItem(SvxFontHeightItem( 423, 100, EE_CHAR_FONTHEIGHT ));           // 12Pt
@@ -362,7 +362,7 @@ void ScDrawLayer::UpdateBasic()
 
 SdrModel* ScDrawLayer::AllocModel() const
 {
-    //	#103849# Allocated model (for clipboard etc) must not have a pointer
+    //	Allocated model (for clipboard etc) must not have a pointer
     //	to the original model's document, pass NULL as document:
 
     return new ScDrawLayer( NULL, aName );
@@ -1560,7 +1560,7 @@ String ScDrawLayer::GetVisibleName( SdrObject* pObj )
     String aName = pObj->GetName();
     if ( pObj->GetObjIdentifier() == OBJ_OLE2 )
     {
-        //	#95575# For OLE, the user defined name (GetName) is used
+        //	For OLE, the user defined name (GetName) is used
         //	if it's not empty (accepting possibly duplicate names),
         //	otherwise the persist name is used so every object appears
         //	in the Navigator at all.
@@ -1646,7 +1646,7 @@ void ScDrawLayer::EnsureGraphicNames()
             SdrObjListIter aIter( *pPage, IM_DEEPWITHGROUPS );
             SdrObject* pObject = aIter.Next();
 
-            /* #101799# The index passed to GetNewGraphicName() will be set to
+            /* The index passed to GetNewGraphicName() will be set to
                 the used index in each call. This prevents the repeated search
                 for all names from 1 to current index. */
             long nCounter = 0;

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list