diff options
80 files changed, 215 insertions, 215 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx index aaf38396ac42..23b41060e20c 100644 --- a/sc/source/ui/Accessibility/AccessibleCell.cxx +++ b/sc/source/ui/Accessibility/AccessibleCell.cxx @@ -101,7 +101,7 @@ void ScAccessibleCell::Init() void SAL_CALL ScAccessibleCell::disposing() { SolarMutexGuard aGuard; - // #100593# dispose in AccessibleStaticTextBase + // dispose in AccessibleStaticTextBase Dispose(); if (mpViewShell) diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx index dd2e5028d588..1ca0cfce5da1 100644 --- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx +++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx @@ -501,7 +501,7 @@ ScAccessibleCsvRuler::AwtRectangle SAL_CALL ScAccessibleCsvRuler::getCharacterBo ScCsvRuler& rRuler = implGetRuler(); Point aPos( rRuler.GetX( lcl_GetRulerPos( nIndex ) ) - rRuler.GetCharWidth() / 2, 0 ); AwtRectangle aRect( aPos.X(), aPos.Y(), rRuler.GetCharWidth(), rRuler.GetSizePixel().Height() ); - // #107054# do not return rectangle out of window + // do not return rectangle out of window sal_Int32 nWidth = rRuler.GetOutputSizePixel().Width(); if( aRect.X >= nWidth ) throw IndexOutOfBoundsException(); @@ -523,7 +523,7 @@ sal_Int32 SAL_CALL ScAccessibleCsvRuler::getIndexAtPoint( const AwtPoint& rPoint SolarMutexGuard aGuard; ensureAlive(); ScCsvRuler& rRuler = implGetRuler(); - // #107054# use object's coordinate system, convert to API position + // use object's coordinate system, convert to API position return lcl_GetApiPos( ::std::min( ::std::max( rRuler.GetPosFromX( rPoint.X ), static_cast<sal_Int32>(0) ), rRuler.GetPosCount() ) ); } diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx index eeb3180e14d7..af8190078614 100644 --- a/sc/source/ui/Accessibility/AccessibleDocument.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx @@ -375,7 +375,7 @@ void ScChildrenShapes::Notify(SfxBroadcaster&, const SfxHint& rHint) { SdrObject* pObj = const_cast<SdrObject*>(pSdrHint->GetObject()); if (pObj && /*(pObj->GetLayer() != SC_LAYER_INTERN) && */(pObj->GetPage() == GetDrawPage()) && - (pObj->GetPage() == pObj->GetObjList()) ) //#108480# only do something if the object lies direct on the page + (pObj->GetPage() == pObj->GetObjList()) ) //only do something if the object lies direct on the page { switch (pSdrHint->GetKind()) { @@ -1348,7 +1348,7 @@ void ScAccessibleDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) if (mpChildrenShapes) DELETEZ(mpChildrenShapes); - // #124567# Accessibility: Shapes / form controls after reload not accessible + // Accessibility: Shapes / form controls after reload not accessible if ( !mpChildrenShapes ) { mpChildrenShapes = new ScChildrenShapes( this, mpViewShell, meSplitPos ); diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx index 51b071e028a8..33f06e3707d9 100644 --- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx @@ -1305,7 +1305,7 @@ void SAL_CALL ScAccessibleDocumentPagePreview::disposing() mpViewShell = NULL; } - // #100593# no need to Dispose the AccessibleTextHelper, + // no need to Dispose the AccessibleTextHelper, // as long as mpNotesChilds are destructed here if (mpNotesChilds) DELETEZ(mpNotesChilds); diff --git a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx index bf99d3d26951..2cc571f5e89e 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx @@ -183,7 +183,7 @@ uno::Reference<XAccessibleStateSet> SAL_CALL ScAccessiblePreviewCell::getAccessi pStateSet->AddState(AccessibleStateType::TRANSIENT); if (isVisible()) pStateSet->AddState(AccessibleStateType::VISIBLE); - // #111635# MANAGES_DESCENDANTS (for paragraphs) + // MANAGES_DESCENDANTS (for paragraphs) pStateSet->AddState(AccessibleStateType::MANAGES_DESCENDANTS); } return pStateSet; @@ -308,7 +308,7 @@ void ScAccessiblePreviewCell::CreateTextHelper() mpTextHelper = new ::accessibility::AccessibleTextHelper( pEditSource ); mpTextHelper->SetEventSource( this ); - // #111635# paragraphs in preview are transient + // paragraphs in preview are transient ::accessibility::AccessibleTextHelper::VectorOfStates aChildStates; aChildStates.push_back( AccessibleStateType::TRANSIENT ); mpTextHelper->SetAdditionalChildStates( aChildStates ); diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx index 8fc350f439bb..fb78e551432c 100644 --- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx +++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx @@ -292,7 +292,7 @@ void ScAccessibleSpreadsheet::Notify( SfxBroadcaster& rBC, const SfxHint& rHint else if (rHint.ISA( ScUpdateRefHint )) { const ScUpdateRefHint& rRef = (const ScUpdateRefHint&)rHint; - if (rRef.GetMode() == URM_INSDEL && rRef.GetDz() == 0) //#107250# test whether table is inserted or deleted + if (rRef.GetMode() == URM_INSDEL && rRef.GetDz() == 0) //test whether table is inserted or deleted { if (((rRef.GetRange().aStart.Col() == maRange.aStart.Col()) && (rRef.GetRange().aEnd.Col() == maRange.aEnd.Col())) || diff --git a/sc/source/ui/Accessibility/AccessibleText.cxx b/sc/source/ui/Accessibility/AccessibleText.cxx index 7c87520c53a4..307bee7d4896 100644 --- a/sc/source/ui/Accessibility/AccessibleText.cxx +++ b/sc/source/ui/Accessibility/AccessibleText.cxx @@ -1112,11 +1112,11 @@ ScAccessibleEditLineTextData::~ScAccessibleEditLineTextData() if (mbEditEngineCreated && mpEditEngine) { delete mpEditEngine; - mpEditEngine = NULL; // #103346# don't access in ScAccessibleEditObjectTextData dtor! + mpEditEngine = NULL; // don't access in ScAccessibleEditObjectTextData dtor! } else if (pTxtWnd && pTxtWnd->GetEditView() && pTxtWnd->GetEditView()->GetEditEngine()) { - // #103346# the NotifyHdl also has to be removed from the ScTextWnd's EditEngine + // the NotifyHdl also has to be removed from the ScTextWnd's EditEngine // (it's set in ScAccessibleEditLineTextData::GetTextForwarder, and mpEditEngine // is reset there) pTxtWnd->GetEditView()->GetEditEngine()->SetNotifyHdl(Link()); diff --git a/sc/source/ui/app/drwtrans.cxx b/sc/source/ui/app/drwtrans.cxx index 0726f2c2faec..327f8b4cb58e 100644 --- a/sc/source/ui/app/drwtrans.cxx +++ b/sc/source/ui/app/drwtrans.cxx @@ -363,7 +363,7 @@ void ScDrawTransferObj::AddSupportedFormats() AddFormat( SOT_FORMATSTR_ID_OBJECTDESCRIPTOR ); AddFormat( SOT_FORMATSTR_ID_DRAWING ); - // #103556# leave out bitmap and metafile if there are only controls + // leave out bitmap and metafile if there are only controls if ( !lcl_HasOnlyControls( pModel ) ) { AddFormat( SOT_FORMAT_BITMAP ); diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index eb62f436e537..ea8c548d231f 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -135,7 +135,7 @@ SfxChildWinInfo ScInputWindowWrapper::GetInfo() const ScInputWindow::ScInputWindow( Window* pParent, SfxBindings* pBind ) : #ifdef OS2 -// #37192# ohne WB_CLIPCHILDREN wg. os/2 Paintproblem +// ohne WB_CLIPCHILDREN wg. os/2 Paintproblem ToolBox ( pParent, WinBits(WB_BORDER|WB_3DLOOK) ), #else // mit WB_CLIPCHILDREN, sonst Flicker @@ -242,7 +242,7 @@ ScInputWindow::~ScInputWindow() if ( pHdl && pHdl->GetInputWindow() == this ) { pHdl->SetInputWindow( NULL ); - pHdl->StopInputWinEngine( FALSE ); // #125841# reset pTopView pointer + pHdl->StopInputWinEngine( FALSE ); // reset pTopView pointer } pSh = SfxViewShell::GetNext( *pSh, &aScType ); } @@ -721,11 +721,11 @@ ScTextWnd::ScTextWnd( Window* pParent ) bFormulaMode ( FALSE ), bInputMode ( FALSE ) { - EnableRTL( FALSE ); // #106269# EditEngine can't be used with VCL EnableRTL + EnableRTL( FALSE ); // EditEngine can't be used with VCL EnableRTL bIsRTL = GetSettings().GetLayoutRTL(); - // #79096# always use application font, so a font with cjk chars can be installed + // always use application font, so a font with cjk chars can be installed Font aAppFont = GetFont(); aTextFont = aAppFont; aTextFont.SetSize( PixelToLogic( aAppFont.GetSize(), MAP_TWIP ) ); // AppFont ist in Pixeln @@ -846,15 +846,15 @@ void ScTextWnd::Command( const CommandEvent& rCEvt ) ScModule* pScMod = SC_MOD(); ScTabViewShell* pStartViewSh = ScTabViewShell::GetActiveViewShell(); - // #109441# don't modify the font defaults here - the right defaults are + // don't modify the font defaults here - the right defaults are // already set in StartEditEngine when the EditEngine is created - // #63263# verhindern, dass die EditView beim View-Umschalten wegkommt + // verhindern, dass die EditView beim View-Umschalten wegkommt pScMod->SetInEditCommand( TRUE ); pEditView->Command( rCEvt ); pScMod->SetInEditCommand( FALSE ); - // #48929# COMMAND_STARTDRAG heiss noch lange nicht, dass der Inhalt geaendert wurde + // COMMAND_STARTDRAG heiss noch lange nicht, dass der Inhalt geaendert wurde // darum in dem Fall kein InputChanged //! erkennen, ob mit Move gedraggt wurde, oder Drag&Move irgendwie verbieten @@ -1017,7 +1017,7 @@ void lcl_ModifyRTLVisArea( EditView* pEditView ) void ScTextWnd::StartEditEngine() { - // #31147# Bei "eigener Modalitaet" (Doc-modale Dialoge) nicht aktivieren + // Bei "eigener Modalitaet" (Doc-modale Dialoge) nicht aktivieren SfxObjectShell* pObjSh = SfxObjectShell::Current(); if ( pObjSh && pObjSh->IsInModalMode() ) return; @@ -1054,7 +1054,7 @@ void ScTextWnd::StartEditEngine() pEditEngine->SetDefaults( pSet ); } - // #57254# Wenn in der Zelle URL-Felder enthalten sind, muessen die auch in + // Wenn in der Zelle URL-Felder enthalten sind, muessen die auch in // die Eingabezeile uebernommen werden, weil sonst die Positionen nicht stimmen. BOOL bFilled = FALSE; @@ -1114,7 +1114,7 @@ IMPL_LINK(ScTextWnd, NotifyHdl, EENotify*, EMPTYARG) { ScInputHandler* pHdl = SC_MOD()->GetInputHdl(); - // #105354# Use the InputHandler's InOwnChange flag to prevent calling InputChanged + // Use the InputHandler's InOwnChange flag to prevent calling InputChanged // while an InputHandler method is modifying the EditEngine content if ( pHdl && !pHdl->IsInOwnChange() ) diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index d790022e5fd1..13ea95340aac 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -1420,7 +1420,7 @@ ScInputHandler* ScModule::GetInputHdl( ScTabViewShell* pViewSh, BOOL bUseRef ) if ( pViewSh ) pHdl = pViewSh->GetInputHandler(); // Viewshell hat jetzt immer einen - // #57989# wenn keine ViewShell uebergeben oder aktiv, kann NULL herauskommen + // wenn keine ViewShell uebergeben oder aktiv, kann NULL herauskommen DBG_ASSERT( pHdl || !pViewSh, "GetInputHdl: kein InputHandler gefunden" ); return pHdl; } @@ -1589,7 +1589,7 @@ void ScModule::SetRefDialog( USHORT nId, BOOL bVis, SfxViewFrame* pViewFrm ) if ( !pViewFrm ) pViewFrm = SfxViewFrame::Current(); - // #79379# bindings update causes problems with update of stylist if + // bindings update causes problems with update of stylist if // current style family has changed //if ( pViewFrm ) // pViewFrm->GetBindings().Update(); // to avoid trouble in LockDispatcher diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx index 0bf34ad5a597..8321263c7b51 100644 --- a/sc/source/ui/app/transobj.cxx +++ b/sc/source/ui/app/transobj.cxx @@ -419,7 +419,7 @@ sal_Bool ScTransferObj::WriteObject( SotStorageStreamRef& rxOStm, void* pUserObj } else { - // #107722# can't use Write for EditEngine format because that would + // can't use Write for EditEngine format because that would // write old format without support for unicode characters. // Get the data from the EditEngine's transferable instead. @@ -498,7 +498,7 @@ void ScTransferObj::DragFinished( sal_Int8 nDropAction ) { ScMarkData aMarkData = GetSourceMarkData(); // external drag&drop doesn't copy objects, so they also aren't deleted: - // #105703# bApi=TRUE, don't show error messages from drag&drop + // bApi=TRUE, don't show error messages from drag&drop pSourceSh->GetDocFunc().DeleteContents( aMarkData, IDF_ALL & ~IDF_OBJECTS, TRUE, TRUE ); } } diff --git a/sc/source/ui/dbgui/csvgrid.cxx b/sc/source/ui/dbgui/csvgrid.cxx index eb179a83d3c5..f399c6b2488a 100644 --- a/sc/source/ui/dbgui/csvgrid.cxx +++ b/sc/source/ui/dbgui/csvgrid.cxx @@ -95,7 +95,7 @@ ScCsvGrid::ScCsvGrid( ScCsvControl& rParent ) : maPopup.SetMenuFlags( maPopup.GetMenuFlags() | MENU_FLAG_NOAUTOMNEMONICS ); - EnableRTL( false ); // #107812# RTL + EnableRTL( false ); // RTL InitFonts(); ImplClearSplits(); } diff --git a/sc/source/ui/dbgui/csvruler.cxx b/sc/source/ui/dbgui/csvruler.cxx index eda9f17b8d30..6f6a499b81cd 100644 --- a/sc/source/ui/dbgui/csvruler.cxx +++ b/sc/source/ui/dbgui/csvruler.cxx @@ -111,7 +111,7 @@ ScCsvRuler::ScCsvRuler( ScCsvControl& rParent ) : ScCsvControl( rParent ), mnPosCursorLast( 1 ) { - EnableRTL( false ); // #107812# RTL + EnableRTL( false ); // RTL InitColors(); InitSizeData(); maBackgrDev.SetFont( GetFont() ); diff --git a/sc/source/ui/dbgui/csvtablebox.cxx b/sc/source/ui/dbgui/csvtablebox.cxx index 0dcbacc4746e..9972ae6f364a 100644 --- a/sc/source/ui/dbgui/csvtablebox.cxx +++ b/sc/source/ui/dbgui/csvtablebox.cxx @@ -51,7 +51,7 @@ ScCsvTableBox::ScCsvTableBox( Window* pParent, const ResId& rResId ) : mbFixedMode = false; mnFixedWidth = 1; - maHScroll.EnableRTL( false ); // #107812# RTL + maHScroll.EnableRTL( false ); // RTL maHScroll.SetLineSize( 1 ); maVScroll.SetLineSize( 1 ); diff --git a/sc/source/ui/dbgui/dapidata.cxx b/sc/source/ui/dbgui/dapidata.cxx index 1be379894444..5355b62cbed3 100644 --- a/sc/source/ui/dbgui/dapidata.cxx +++ b/sc/source/ui/dbgui/dapidata.cxx @@ -220,7 +220,7 @@ void ScDataPilotDatabaseDlg::FillObjects() } catch(uno::Exception&) { - // #71604# this may happen if an invalid database is selected -> no DBG_ERROR + // this may happen if an invalid database is selected -> no DBG_ERROR DBG_WARNING("exception in database"); } } diff --git a/sc/source/ui/dbgui/fieldwnd.cxx b/sc/source/ui/dbgui/fieldwnd.cxx index 8abdcf40367c..874308467850 100644 --- a/sc/source/ui/dbgui/fieldwnd.cxx +++ b/sc/source/ui/dbgui/fieldwnd.cxx @@ -273,7 +273,7 @@ const vector<ScDPFieldControlBase::FieldName>& ScDPFieldControlBase::GetFieldNam void ScDPFieldControlBase::Paint( const Rectangle& /* rRect */ ) { - // #124828# hiding the caption is now done from StateChanged + // hiding the caption is now done from StateChanged Redraw(); } diff --git a/sc/source/ui/dbgui/pvlaydlg.cxx b/sc/source/ui/dbgui/pvlaydlg.cxx index cd1215b54ce7..9bb395f2e757 100644 --- a/sc/source/ui/dbgui/pvlaydlg.cxx +++ b/sc/source/ui/dbgui/pvlaydlg.cxx @@ -331,7 +331,7 @@ void ScDPLayoutDlg::StateChanged( StateChangedType nStateChange ) if ( nStateChange == STATE_CHANGE_INITSHOW ) { - // #124828# Hiding the FixedTexts and clearing the tab stop style bits + // Hiding the FixedTexts and clearing the tab stop style bits // has to be done after assigning the mnemonics, but Paint is too late, // because the test tool may send key events to the dialog when it isn't visible. // Mnemonics are assigned in the Dialog::StateChanged for STATE_CHANGE_INITSHOW, @@ -1086,12 +1086,12 @@ void ScDPLayoutDlg::NotifyDoubleClick( ScDPFieldType eType, size_t nFieldIndex ) void ScDPLayoutDlg::NotifyFieldFocus( ScDPFieldType eType, BOOL bGotFocus ) { /* Enable Remove/Options buttons on GetFocus in field window. - #107616# Enable them also, if dialog is deactivated (click into document). + Enable them also, if dialog is deactivated (click into document). The !IsActive() condition handles the case that a LoseFocus event of a field window would follow the Deactivate event of this dialog. */ BOOL bEnable = (bGotFocus || !IsActive()) && (eType != TYPE_SELECT); - // #128113# The TestTool may set the focus into an empty field. + // The TestTool may set the focus into an empty field. // Then the Remove/Options buttons must be disabled. ScDPFieldControlBase* pWnd = GetFieldWindow(eType); if ( bEnable && bGotFocus && pWnd && pWnd->IsEmpty() ) @@ -1134,7 +1134,7 @@ void ScDPLayoutDlg::NotifyRemoveField( ScDPFieldType eType, size_t nFieldIndex ) void ScDPLayoutDlg::Deactivate() { - /* #107616# If the dialog has been deactivated (click into document), the LoseFocus + /* If the dialog has been deactivated (click into document), the LoseFocus event from field window disables Remove/Options buttons. Re-enable them here by simulating a GetFocus event. Event order of LoseFocus and Deactivate is not important. The last event will enable the buttons in both cases (see NotifyFieldFocus). */ @@ -1765,7 +1765,7 @@ IMPL_LINK( ScDPLayoutDlg, OkHdl, OKButton *, EMPTYARG ) ScTabViewShell* pTabViewShell = pViewData->GetViewShell(); pTabViewShell->SetDialogDPObject(xDlgDPObject.get()); - // #95513# don't hide the dialog before executing the slot, instead it is used as + // don't hide the dialog before executing the slot, instead it is used as // parent for message boxes in ScTabViewShell::GetDialogParent const SfxPoolItem* pRet = GetBindings().GetDispatcher()->Execute( diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx index 42769da75718..640f9213a519 100644 --- a/sc/source/ui/dbgui/scuiasciiopt.cxx +++ b/sc/source/ui/dbgui/scuiasciiopt.cxx @@ -486,7 +486,7 @@ bool ScImportAsciiDlg::GetLine( ULONG nLine, String &rText ) mnStreamPos = mpDatStream->Tell(); } - // #107455# If the file content isn't unicode, ReadUniStringLine + // If the file content isn't unicode, ReadUniStringLine // may try to seek beyond the file's end and cause a CANTSEEK error // (depending on the stream type). The error code has to be cleared, // or further read operations (including non-unicode) will fail. diff --git a/sc/source/ui/dbgui/sfiltdlg.cxx b/sc/source/ui/dbgui/sfiltdlg.cxx index 1f455b52136f..1bb7211e44d0 100644 --- a/sc/source/ui/dbgui/sfiltdlg.cxx +++ b/sc/source/ui/dbgui/sfiltdlg.cxx @@ -218,7 +218,7 @@ void ScSpecialFilterDlg::Init( const SfxItemSet& rArgSet ) aStrNoName, aStrUndefined ); - // #35206# Spezialfilter braucht immer Spaltenkoepfe + // Spezialfilter braucht immer Spaltenkoepfe aBtnHeader.Check(TRUE); aBtnHeader.Disable(); diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx index ccb6adec51e5..0a865dcdd1ba 100644 --- a/sc/source/ui/dbgui/tpsubt.cxx +++ b/sc/source/ui/dbgui/tpsubt.cxx @@ -151,7 +151,7 @@ BOOL ScTpSubTotalGroup::DoReset( USHORT nGroupNo, //---------------------------------------------------------- - // #79058# first we have to clear the listboxes... + // first we have to clear the listboxes... for ( USHORT nLbEntry = 0; nLbEntry < aLbColumns.GetEntryCount(); ++nLbEntry ) { aLbColumns.CheckEntryPos( nLbEntry, FALSE ); diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx index 13bb0728bb32..e643b3a85e7c 100644 --- a/sc/source/ui/dbgui/validate.cxx +++ b/sc/source/ui/dbgui/validate.cxx @@ -224,7 +224,7 @@ USHORT lclGetPosFromCondMode( ScConditionMode eCondMode ) USHORT nLbPos = SC_VALIDDLG_DATA_EQUAL; switch( eCondMode ) { - case SC_COND_NONE: // #111771# may occur in old XML files after Excel import + case SC_COND_NONE: // may occur in old XML files after Excel import case SC_COND_EQUAL: nLbPos = SC_VALIDDLG_DATA_EQUAL; break; case SC_COND_LESS: nLbPos = SC_VALIDDLG_DATA_LESS; break; case SC_COND_GREATER: nLbPos = SC_VALIDDLG_DATA_GREATER; break; @@ -821,7 +821,7 @@ void ScTPValidationError::Reset( const SfxItemSet& rArgSet ) if ( rArgSet.GetItemState( FID_VALID_SHOWERR, TRUE, &pItem ) == SFX_ITEM_SET ) aTsbShow.SetState( ((const SfxBoolItem*)pItem)->GetValue() ? STATE_CHECK : STATE_NOCHECK ); else - aTsbShow.SetState( STATE_CHECK ); // #111720# check by default + aTsbShow.SetState( STATE_CHECK ); // check by default if ( rArgSet.GetItemState( FID_VALID_ERRSTYLE, TRUE, &pItem ) == SFX_ITEM_SET ) aLbAction.SelectEntryPos( ((const SfxAllEnumItem*)pItem)->GetValue() ); diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx index b4436040321f..a1e6c02aa4a1 100644 --- a/sc/source/ui/docshell/arealink.cxx +++ b/sc/source/ui/docshell/arealink.cxx @@ -139,7 +139,7 @@ void ScAreaLink::DataChanged( const String&, // -> remove prefix ScDocumentLoader::RemoveAppPrefix( aFilter ); - // #81155# dialog doesn't set area, so keep old one + // dialog doesn't set area, so keep old one if ( !aArea.Len() ) { aArea = aSourceArea; diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx index 573eca24fbce..be26ca3a0ad7 100644 --- a/sc/source/ui/docshell/dbdocfun.cxx +++ b/sc/source/ui/docshell/dbdocfun.cxx @@ -558,7 +558,7 @@ BOOL ScDBDocFunc::Sort( SCTAB nTab, const ScSortParam& rSortParam, rDocShell.GetDocFunc().MoveBlock( aSource, aDest, FALSE, FALSE, FALSE, TRUE ); } - // #105780# don't call ScDocument::Sort with an empty SortParam (may be empty here if bCopy is set) + // don't call ScDocument::Sort with an empty SortParam (may be empty here if bCopy is set) if ( aLocalParam.bDoSort[0] ) pDoc->Sort( nTab, aLocalParam, bRepeatQuery ); @@ -1295,7 +1295,7 @@ BOOL ScDBDocFunc::DataPilotUpdate( ScDPObject* pOldObj, const ScDPObject* pNewOb } if ( pDestObj ) { - // #78541# create new database connection for "refresh" + // create new database connection for "refresh" // (and re-read column entry collections) // so all changes take effect if ( pNewObj == pOldObj && pDestObj->IsImportData() ) @@ -1485,7 +1485,7 @@ void ScDBDocFunc::UpdateImport( const String& rTarget, const String& rDBName, pData->GetArea(aRange); pViewSh->MarkRange(aRange); // selektieren - if ( bContinue ) // #41905# Fehler beim Import -> Abbruch + if ( bContinue ) // Fehler beim Import -> Abbruch { // interne Operationen, wenn welche gespeichert diff --git a/sc/source/ui/docshell/dbdocimp.cxx b/sc/source/ui/docshell/dbdocimp.cxx index 1204661e52dd..b074d8c42d33 100644 --- a/sc/source/ui/docshell/dbdocimp.cxx +++ b/sc/source/ui/docshell/dbdocimp.cxx @@ -616,7 +616,7 @@ BOOL ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam, // CopyToDocument doesn't remove contents pDoc->DeleteAreaTab( rParam.nCol1, rParam.nRow1, nEndCol, nEndRow, nTab, IDF_CONTENTS & ~IDF_NOTE ); - // #41216# remove each column from ImportDoc after copying to reduce memory usage + // remove each column from ImportDoc after copying to reduce memory usage BOOL bOldAutoCalc = pDoc->GetAutoCalc(); pDoc->SetAutoCalc( FALSE ); // outside of the loop for (SCCOL nCopyCol = rParam.nCol1; nCopyCol <= nEndCol; nCopyCol++) diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 91c6cf74e869..4a55079bfb03 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -674,7 +674,7 @@ BOOL ScDocFunc::DeleteContents( const ScMarkData& rMark, USHORT nFlags, 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 // note captions are handled in drawing undo nUndoDocFlags |= IDF_NOCAPTIONS; pDoc->CopyToDocument( aExtendedRange, nUndoDocFlags, bMulti, pUndoDoc, &aMultiMark ); @@ -819,7 +819,7 @@ BOOL ScDocFunc::SetNormalString( const ScAddress& rPos, const String& rText, BOO rDocShell.PostPaintCell( rPos ); aModificator.SetDocumentModified(); - // #107160# notify input handler here the same way as in PutCell + // notify input handler here the same way as in PutCell if (bApi) NotifyInputHandler( rPos ); @@ -4075,7 +4075,7 @@ BOOL ScDocFunc::FillSeries( const ScRange& rRange, const ScMarkData* pTabMark, aSourceArea.aEnd.Col(), aSourceArea.aEnd.Row(), aSourceArea.aEnd.Tab(), DirFromFillDir(eDir) ); - // #27665# mindestens eine Zeile/Spalte als Quellbereich behalten: + // mindestens eine Zeile/Spalte als Quellbereich behalten: SCSIZE nTotLines = ( eDir == FILL_TO_BOTTOM || eDir == FILL_TO_TOP ) ? static_cast<SCSIZE>( aSourceArea.aEnd.Row() - aSourceArea.aStart.Row() + 1 ) : static_cast<SCSIZE>( aSourceArea.aEnd.Col() - aSourceArea.aStart.Col() + 1 ); diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 6bb9e415a9f2..8459d37150a5 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -521,7 +521,7 @@ BOOL ScDocShell::Load( SfxMedium& rMedium ) InitItems(); CalcOutputFactor(); - // #73762# invalidate eventually temporary table areas + // invalidate eventually temporary table areas if ( bRet ) aDocument.InvalidateTableArea(); @@ -1130,7 +1130,7 @@ BOOL ScDocShell::ConvertFrom( SfxMedium& rMedium ) eFormat = EIF_BIFF8; MakeDrawLayer(); //! im Filter - CalcOutputFactor(); // #93255# prepare update of row height + CalcOutputFactor(); // prepare update of row height ScColumn::bDoubleAlloc = TRUE; FltError eError = ScFormatFilter::Get().ScImportExcel( rMedium, &aDocument, eFormat ); ScColumn::bDoubleAlloc = FALSE; @@ -1138,7 +1138,7 @@ BOOL ScDocShell::ConvertFrom( SfxMedium& rMedium ) if ( aDocument.IsChartListenerCollectionNeedsUpdate() ) aDocument.UpdateChartListenerCollection(); //! fuer alle Importe? - // #75299# all graphics objects must have names + // all graphics objects must have names aDocument.EnsureGraphicNames(); if (eError == SCWARN_IMPORT_RANGE_OVERFLOW) @@ -1496,7 +1496,7 @@ BOOL ScDocShell::ConvertFrom( SfxMedium& rMedium ) FinishedLoading( SFX_LOADED_MAINDOCUMENT | SFX_LOADED_IMAGES ); - // #73762# invalidate eventually temporary table areas + // invalidate eventually temporary table areas if ( bRet ) aDocument.InvalidateTableArea(); @@ -1930,7 +1930,7 @@ void ScDocShell::AsciiSave( SvStream& rStream, const ScImportOptions& rAsciiOpt } else { - // #105549# This is nasty. The Unicode to byte encoding + // This is nasty. The Unicode to byte encoding // may convert typographical quotation marks to ASCII // quotation marks, which may interfer with the delimiter, // so we have to escape delimiters after the string has @@ -2072,7 +2072,7 @@ BOOL ScDocShell::ConvertTo( SfxMedium &rMed ) aDocument.SetExtDocOptions( pExtDocOpt = new ScExtDocOptions ); pViewShell->GetViewData()->WriteExtOptions( *pExtDocOpt ); - /* #115980# #i104990# If the imported document contains a medium + /* #i104990# If the imported document contains a medium password, determine if we can save it, otherwise ask the users whether they want to save without it. */ if( (rMed.GetFilter()->GetFilterFlags() & SFX_FILTER_ENCRYPTION) == 0 ) @@ -2548,7 +2548,7 @@ ScDocShell::ScDocShell( const sal_uInt64 i_nSfxCreationFlags ) ScDocShell::~ScDocShell() { - ResetDrawObjectShell(); // #55570# falls der Drawing-Layer noch versucht, darauf zuzugreifen + ResetDrawObjectShell(); // falls der Drawing-Layer noch versucht, darauf zuzugreifen SfxStyleSheetPool* pStlPool = aDocument.GetStyleSheetPool(); if (pStlPool) @@ -2632,7 +2632,7 @@ void ScDocShell::SetDocumentModified( BOOL bIsModified /* = TRUE */ ) // Detective AutoUpdate: // Update if formulas were modified (DetectiveDirty) or the list contains - // "Trace Error" entries (#75362# - Trace Error can look completely different + // "Trace Error" entries (Trace Error can look completely different // after changes to non-formula cells). ScDetOpList* pList = aDocument.GetDetOpList(); @@ -2644,7 +2644,7 @@ void ScDocShell::SetDocumentModified( BOOL bIsModified /* = TRUE */ ) aDocument.SetDetectiveDirty(FALSE); // always reset, also if not refreshed } - // #b6697848# notify UNO objects after BCA_BRDCST_ALWAYS etc. + // notify UNO objects after BCA_BRDCST_ALWAYS etc. aDocument.BroadcastUno( SfxSimpleHint( SFX_HINT_DATACHANGED ) ); } } diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index f3c7ae9a1033..10081240b864 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -828,14 +828,14 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck DBG_ASSERT(pThisTrack,"ChangeTracking nicht angeschaltet?"); if ( !bShared ) { - // #51138# visuelles RedLining einschalten + // visuelles RedLining einschalten ScChangeViewSettings aChangeViewSet; aChangeViewSet.SetShowChanges(TRUE); aDocument.SetChangeViewSettings(aChangeViewSet); } } - // #97286# include 100th seconds in compare? + // include 100th seconds in compare? BOOL bIgnore100Sec = !pSourceTrack->IsTime100thSeconds() || !pThisTrack->IsTime100thSeconds(); diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index ea40cec3abc2..93aa6734fc6c 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -554,7 +554,7 @@ void ScDocShell::Execute( SfxRequest& rReq ) pDBData->GetArea(aRange); pViewSh->MarkRange(aRange); - if ( bContinue ) // #41905# Fehler beim Import -> Abbruch + if ( bContinue ) // Fehler beim Import -> Abbruch { // interne Operationen, wenn welche gespeichert @@ -1252,7 +1252,7 @@ void ScDocShell::DoRecalc( BOOL bApi ) aDocument.BroadcastUno( SfxSimpleHint( SFX_HINT_DATACHANGED ) ); - // #47939# Wenn es Charts gibt, dann alles painten, damit nicht + // Wenn es Charts gibt, dann alles painten, damit nicht // PostDataChanged und die Charts nacheinander kommen und Teile // doppelt gepainted werden. @@ -1491,7 +1491,7 @@ BOOL ScDocShell::AdjustPrintZoom( const ScRange& rRange ) aOldPrFunc.GetScaleData( aPhysPage, nHdr, nFtr ); nBlkTwipsY += nHdr + nFtr; - if ( nBlkTwipsX == 0 ) // #100639# hidden columns/rows may lead to 0 + if ( nBlkTwipsX == 0 ) // hidden columns/rows may lead to 0 nBlkTwipsX = 1; if ( nBlkTwipsY == 0 ) nBlkTwipsY = 1; @@ -2200,8 +2200,8 @@ void ScDocShell::GetState( SfxItemSet &rSet ) break; // Wenn eine Formel editiert wird, muss FID_RECALC auf jeden Fall enabled sein. - // Recalc fuer das Doc war mal wegen #29898# disabled, wenn AutoCalc an war, - // ist jetzt wegen #41540# aber auch immer enabled. + // Recalc fuer das Doc war mal wegen eines Bugs disabled, wenn AutoCalc an war, + // ist jetzt wegen eines anderen Bugs aber auch immer enabled. case SID_TABLES_COUNT: rSet.Put( SfxInt16Item( nWhich, aDocument.GetTableCount() ) ); diff --git a/sc/source/ui/docshell/docsh5.cxx b/sc/source/ui/docshell/docsh5.cxx index 1405dbf3ca1b..3c95fda6c2d5 100644 --- a/sc/source/ui/docshell/docsh5.cxx +++ b/sc/source/ui/docshell/docsh5.cxx @@ -180,7 +180,7 @@ ScDBData* ScDocShell::GetDBData( const ScRange& rMarked, ScGetDBMode eMode, ScGe SCROW nEndRow = rMarked.aEnd.Row(); SCTAB nEndTab = rMarked.aEnd.Tab(); - // Wegen #49655# nicht einfach GetDBAtCursor: Der zusammenhaengende Datenbereich + // Nicht einfach GetDBAtCursor: Der zusammenhaengende Datenbereich // fuer "unbenannt" (GetDataArea) kann neben dem Cursor legen, also muss auch ein // benannter DB-Bereich dort gesucht werden. diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx index bb57df567051..88ea2135f9f6 100644 --- a/sc/source/ui/docshell/docsh6.cxx +++ b/sc/source/ui/docshell/docsh6.cxx @@ -157,7 +157,7 @@ void ScDocShell::SetVisAreaOrSize( const Rectangle& rVisArea, BOOL bModifyStart // hier Position anpassen! - // #92248# when loading an ole object, the VisArea is set from the document's + // when loading an ole object, the VisArea is set from the document's // view settings and must be used as-is (document content may not be complete yet). if ( !aDocument.IsImportingXML() ) aDocument.SnapVisArea( aArea ); diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx index 3e63fae00963..e5af5a4e3fec 100644 --- a/sc/source/ui/docshell/docsh8.cxx +++ b/sc/source/ui/docshell/docsh8.cxx @@ -976,7 +976,7 @@ ULONG ScDocShell::DBaseExport( const String& rFullFileName, CharSet eCharSet, BO if ( pCell && pCell->GetCellType() != CELLTYPE_NOTE ) { if ( pCell->GetCellType() == CELLTYPE_EDIT ) - { // #60761# Paragraphs erhalten + { // Paragraphs erhalten lcl_getLongVarCharEditString( aString, pCell, aEditEngine); } @@ -1003,7 +1003,7 @@ ULONG ScDocShell::DBaseExport( const String& rFullFileName, CharSet eCharSet, BO case sdbc::DataType::DATE: { aDocument.GetValue( nDocCol, nDocRow, nTab, fVal ); - // #39274# zwischen 0 Wert und 0 kein Wert unterscheiden + // zwischen 0 Wert und 0 kein Wert unterscheiden BOOL bIsNull = (fVal == 0.0); if ( bIsNull ) bIsNull = !aDocument.HasValueData( nDocCol, nDocRow, nTab ); diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index c799797dfec5..e1e8ef314028 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -998,7 +998,7 @@ static bool lcl_PutString( else if ( i == 8 && rTransliteration.isEqual( aSeptCorrect, xMonths[i].AbbrevName ) && rTransliteration.isEqual( aMStr, aSepShortened ) ) - { // #102136# correct English abbreviation is SEPT, + { // correct English abbreviation is SEPT, // but data mostly contains SEP only nMonth = sal::static_int_cast<sal_Int16>( i+1 ); } @@ -1018,7 +1018,7 @@ static bool lcl_PutString( } else if ( i == 8 && pSecondTransliteration->isEqual( aMStr, aSepShortened ) ) - { // #102136# correct English abbreviation is SEPT, + { // correct English abbreviation is SEPT, // but data mostly contains SEP only nMonth = sal::static_int_cast<sal_Int16>( i+1 ); bSecondCal = TRUE; @@ -1967,7 +1967,7 @@ BOOL ScImportExport::Dif2Doc( SvStream& rStrm ) SCCOL nEndCol; SCROW nEndRow; pImportDoc->GetCellArea( nTab, nEndCol, nEndRow ); - // #131247# if there are no cells in the imported content, nEndCol/nEndRow may be before the start + // if there are no cells in the imported content, nEndCol/nEndRow may be before the start if ( nEndCol < aRange.aStart.Col() ) nEndCol = aRange.aStart.Col(); if ( nEndRow < aRange.aStart.Row() ) diff --git a/sc/source/ui/docshell/tablink.cxx b/sc/source/ui/docshell/tablink.cxx index 5116e54cb022..aad15c30feb7 100644 --- a/sc/source/ui/docshell/tablink.cxx +++ b/sc/source/ui/docshell/tablink.cxx @@ -243,7 +243,7 @@ BOOL ScTableLink::Refresh(const String& rNewFile, const String& rNewFilter, BOOL bNotFound = FALSE; ScDocument* pSrcDoc = pSrcShell->GetDocument(); - // #74835# from text filters that don't set the table name, + // from text filters that don't set the table name, // use the one table regardless of link table name BOOL bAutoTab = (pSrcDoc->GetTableCount() == 1) && ScDocShell::HasAutomaticTableName( rNewFilter ); @@ -313,7 +313,7 @@ BOOL ScTableLink::Refresh(const String& rNewFile, const String& rNewFilter, bool bShowError = true; if ( nMode == SC_LINK_VALUE ) { - // #139464# Value link (used with external references in formulas): + // Value link (used with external references in formulas): // Look for formulas that reference the sheet, and put errors in the referenced cells. ScRangeList aErrorCells; // cells on the linked sheets that need error values diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx index a1f34292647a..033b93fcdd4e 100644 --- a/sc/source/ui/drawfunc/drawsh2.cxx +++ b/sc/source/ui/drawfunc/drawsh2.cxx @@ -137,7 +137,7 @@ void ScDrawShell::GetDrawFuncState( SfxItemSet& rSet ) // Funktionen disabl { ScDrawView* pView = pViewData->GetScDrawView(); - // #111711# call IsMirrorAllowed first to make sure ForcePossibilities (and thus CheckMarked) + // call IsMirrorAllowed first to make sure ForcePossibilities (and thus CheckMarked) // is called before GetMarkCount, so the nMarkCount value is valid for the rest of this method. if (!pView->IsMirrorAllowed(TRUE,TRUE)) { @@ -177,7 +177,7 @@ void ScDrawShell::GetDrawFuncState( SfxItemSet& rSet ) // Funktionen disabl } // do not change layer of form controls - // #158385# #i83729# do not change layer of cell notes (on internal layer) + // #i83729# do not change layer of cell notes (on internal layer) if ( !nMarkCount || pView->HasMarkedControl() || pView->HasMarkedInternal() ) { rSet.DisableItem( SID_OBJECT_HEAVEN ); diff --git a/sc/source/ui/drawfunc/drtxtob.cxx b/sc/source/ui/drawfunc/drtxtob.cxx index 0246aa2f6ac6..3325cdcbbde5 100644 --- a/sc/source/ui/drawfunc/drtxtob.cxx +++ b/sc/source/ui/drawfunc/drtxtob.cxx @@ -145,7 +145,7 @@ ScDrawTextObjectBar::~ScDrawTextObjectBar() { 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(); diff --git a/sc/source/ui/drawfunc/fuconarc.cxx b/sc/source/ui/drawfunc/fuconarc.cxx index 1ae109416bbf..a6d63ce17bae 100644 --- a/sc/source/ui/drawfunc/fuconarc.cxx +++ b/sc/source/ui/drawfunc/fuconarc.cxx @@ -34,7 +34,7 @@ #include "tabvwsh.hxx" #include "drawview.hxx" -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard #include <svx/svdocirc.hxx> #include <svx/sxciaitm.hxx> @@ -68,7 +68,7 @@ FuConstArc::~FuConstArc() BOOL FuConstArc::MouseButtonDown( const MouseEvent& rMEvt ) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FuConstruct::MouseButtonDown( rMEvt ); @@ -102,7 +102,7 @@ BOOL FuConstArc::MouseMove( const MouseEvent& rMEvt ) BOOL FuConstArc::MouseButtonUp( const MouseEvent& rMEvt ) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FALSE; @@ -183,7 +183,7 @@ void FuConstArc::Deactivate() pViewShell->SetActivePointer( aOldPointer ); } -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard SdrObject* FuConstArc::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle) { // case SID_DRAW_ARC: diff --git a/sc/source/ui/drawfunc/fuconcustomshape.cxx b/sc/source/ui/drawfunc/fuconcustomshape.cxx index fbbcd1c1bff5..974c7f0d6ba8 100644 --- a/sc/source/ui/drawfunc/fuconcustomshape.cxx +++ b/sc/source/ui/drawfunc/fuconcustomshape.cxx @@ -78,7 +78,7 @@ FuConstCustomShape::~FuConstCustomShape() BOOL FuConstCustomShape::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FuConstruct::MouseButtonDown(rMEvt); @@ -123,7 +123,7 @@ BOOL FuConstCustomShape::MouseMove(const MouseEvent& rMEvt) BOOL FuConstCustomShape::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FALSE; @@ -190,7 +190,7 @@ void FuConstCustomShape::Deactivate() pViewShell->SetActivePointer( aOldPointer ); } -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard SdrObject* FuConstCustomShape::CreateDefaultObject(const sal_uInt16 /* nID */, const Rectangle& rRectangle) { SdrObject* pObj = SdrObjFactory::MakeNewObject( diff --git a/sc/source/ui/drawfunc/fuconpol.cxx b/sc/source/ui/drawfunc/fuconpol.cxx index 05927c968e2e..b57ddfd94ca7 100644 --- a/sc/source/ui/drawfunc/fuconpol.cxx +++ b/sc/source/ui/drawfunc/fuconpol.cxx @@ -34,7 +34,7 @@ #include "sc.hrc" #include "drawview.hxx" -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard #include <svx/svdopath.hxx> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/point/b2dpoint.hxx> @@ -76,7 +76,7 @@ FuConstPolygon::~FuConstPolygon() BOOL FuConstPolygon::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FuConstruct::MouseButtonDown(rMEvt); @@ -121,7 +121,7 @@ BOOL FuConstPolygon::MouseMove(const MouseEvent& rMEvt) BOOL FuConstPolygon::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FALSE; @@ -250,7 +250,7 @@ void FuConstPolygon::Deactivate() pViewShell->SetActivePointer( aOldPointer ); } -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard SdrObject* FuConstPolygon::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle) { // case SID_DRAW_POLYGON: diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx index 5843abb13eb1..b671beeac3ac 100644 --- a/sc/source/ui/drawfunc/fuconrec.cxx +++ b/sc/source/ui/drawfunc/fuconrec.cxx @@ -35,7 +35,7 @@ #include "drawview.hxx" #include <editeng/outlobj.hxx> -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard #include <svx/svdopath.hxx> #include <svx/svdocapt.hxx> #include <basegfx/polygon/b2dpolygon.hxx> @@ -76,7 +76,7 @@ FuConstRectangle::~FuConstRectangle() BOOL FuConstRectangle::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FuConstruct::MouseButtonDown(rMEvt); @@ -120,7 +120,7 @@ BOOL FuConstRectangle::MouseMove(const MouseEvent& rMEvt) BOOL FuConstRectangle::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FALSE; @@ -226,7 +226,7 @@ void FuConstRectangle::Deactivate() pViewShell->SetActivePointer( aOldPointer ); } -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard SdrObject* FuConstRectangle::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle) { SdrObject* pObj = SdrObjFactory::MakeNewObject( @@ -275,7 +275,7 @@ SdrObject* FuConstRectangle::CreateDefaultObject(const sal_uInt16 nID, const Rec pObj->SetMergedItemSet(aSet); } - // #105815# don't set default text, start edit mode instead + // don't set default text, start edit mode instead // (Edit mode is started in ScTabViewShell::ExecDraw, because // it must be handled by FuText) // String aText(ScResId(STR_CAPTION_DEFAULT_TEXT)); diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx index f6677d686754..2784102537ea 100644 --- a/sc/source/ui/drawfunc/fuconstr.cxx +++ b/sc/source/ui/drawfunc/fuconstr.cxx @@ -85,7 +85,7 @@ BYTE FuConstruct::Command(const CommandEvent& rCEvt) BOOL FuConstruct::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FuDraw::MouseButtonDown(rMEvt); @@ -179,7 +179,7 @@ BOOL FuConstruct::MouseMove(const MouseEvent& rMEvt) BOOL FuConstruct::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = SimpleMouseButtonUp( rMEvt ); @@ -197,7 +197,7 @@ BOOL FuConstruct::MouseButtonUp(const MouseEvent& rMEvt) SdrMark* pMark = rMarkList.GetMark(0); SdrObject* pObj = pMark->GetMarkedSdrObj(); - // #49458# bei Uno-Controls nicht in Textmodus + // bei Uno-Controls nicht in Textmodus if ( pObj->ISA(SdrTextObj) && !pObj->ISA(SdrUnoObj) ) { OutlinerParaObject* pOPO = pObj->GetOutlinerParaObject(); diff --git a/sc/source/ui/drawfunc/fuconuno.cxx b/sc/source/ui/drawfunc/fuconuno.cxx index a1ff645f379a..aa7a0b730eed 100644 --- a/sc/source/ui/drawfunc/fuconuno.cxx +++ b/sc/source/ui/drawfunc/fuconuno.cxx @@ -70,7 +70,7 @@ FuConstUnoControl::~FuConstUnoControl() BOOL FuConstUnoControl::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FuConstruct::MouseButtonDown(rMEvt); @@ -104,7 +104,7 @@ BOOL FuConstUnoControl::MouseMove(const MouseEvent& rMEvt) BOOL FuConstUnoControl::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FALSE; @@ -171,7 +171,7 @@ void FuConstUnoControl::Deactivate() pViewShell->SetActivePointer( aOldPointer ); } -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard SdrObject* FuConstUnoControl::CreateDefaultObject(const sal_uInt16 /* nID */, const Rectangle& rRectangle) { // case SID_FM_CREATE_CONTROL: diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx index e26fd0055c23..456a3bde9432 100644 --- a/sc/source/ui/drawfunc/fudraw.cxx +++ b/sc/source/ui/drawfunc/fudraw.cxx @@ -147,7 +147,7 @@ void FuDraw::ResetModifiers() BOOL FuDraw::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); DoModifiers( rMEvt ); @@ -162,7 +162,7 @@ BOOL FuDraw::MouseButtonDown(const MouseEvent& rMEvt) BOOL FuDraw::MouseMove(const MouseEvent& rMEvt) { - // #106438# evaluate modifiers only if in a drawing layer action + // evaluate modifiers only if in a drawing layer action // (don't interfere with keyboard shortcut handling) if (pView->IsAction()) DoModifiers( rMEvt ); @@ -178,7 +178,7 @@ BOOL FuDraw::MouseMove(const MouseEvent& rMEvt) BOOL FuDraw::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); ResetModifiers(); @@ -249,7 +249,7 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) } else if ( pView->AreObjectsMarked() ) { - // #97016# III + // III SdrHdlList& rHdlList = const_cast< SdrHdlList& >( pView->GetHdlList() ); if( rHdlList.GetFocusHdl() ) rHdlList.ResetFocusHdl(); @@ -273,8 +273,8 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) { if( rKEvt.GetKeyCode().GetModifier() == 0 ) { - // #98256# activate OLE object on RETURN for selected object - // #98198# put selected text object in edit mode + // activate OLE object on RETURN for selected object + // put selected text object in edit mode const SdrMarkList& rMarkList = pView->GetMarkedObjectList(); if( !pView->IsTextEdit() && 1 == rMarkList.GetMarkCount() ) { @@ -298,7 +298,7 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) { if( rKEvt.GetKeyCode().GetModifier() == 0 ) { - // #98198# put selected text object in edit mode + // put selected text object in edit mode // (this is not SID_SETINPUTMODE, but F2 hardcoded, like in Writer) const SdrMarkList& rMarkList = pView->GetMarkedObjectList(); if( !pView->IsTextEdit() && 1 == rMarkList.GetMarkCount() ) @@ -325,23 +325,23 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) // changeover to the next object if(!pView->MarkNextObj( !aCode.IsShift() )) { - // #97016# No next object: go over open end and + // No next object: go over open end and // get first from the other side pView->UnmarkAllObj(); pView->MarkNextObj(!aCode.IsShift()); } - // #97016# II + // II if(pView->AreObjectsMarked()) pView->MakeVisible(pView->GetAllMarkedRect(), *pWindow); bReturn = TRUE; } - // #98994# handle Mod1 and Mod2 to get travelling running on different systems + // handle Mod1 and Mod2 to get travelling running on different systems if(rKEvt.GetKeyCode().IsMod1() || rKEvt.GetKeyCode().IsMod2()) { - // #97016# II do something with a selected handle? + // II do something with a selected handle? const SdrHdlList& rHdlList = pView->GetHdlList(); sal_Bool bForward(!rKEvt.GetKeyCode().IsShift()); @@ -375,11 +375,11 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) if ( aCode.IsMod1() ) { - // #97016# mark last object + // mark last object pView->UnmarkAllObj(); pView->MarkNextObj(FALSE); - // #97016# II + // II if(pView->AreObjectsMarked()) pView->MakeVisible(pView->GetAllMarkedRect(), *pWindow); @@ -400,11 +400,11 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) if ( aCode.IsMod1() ) { - // #97016# mark first object + // mark first object pView->UnmarkAllObj(); pView->MarkNextObj(TRUE); - // #97016# II + // II if(pView->AreObjectsMarked()) pView->MakeVisible(pView->GetAllMarkedRect(), *pWindow); @@ -470,7 +470,7 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) { if(rKEvt.GetKeyCode().IsMod2()) { - // #97016# move in 1 pixel distance + // move in 1 pixel distance Size aLogicSizeOnePixel = (pWindow) ? pWindow->PixelToLogic(Size(1,1)) : Size(100, 100); nX *= aLogicSizeOnePixel.Width(); nY *= aLogicSizeOnePixel.Height(); @@ -485,16 +485,16 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) // is there a movement to do? if(0 != nX || 0 != nY) { - // #97016# II + // II const SdrHdlList& rHdlList = pView->GetHdlList(); SdrHdl* pHdl = rHdlList.GetFocusHdl(); if(0L == pHdl) { - // #107086# only take action when move is allowed + // only take action when move is allowed if(pView->IsMoveAllowed()) { - // #90129# restrict movement to WorkArea + // restrict movement to WorkArea const Rectangle& rWorkArea = pView->GetWorkArea(); if(!rWorkArea.IsEmpty()) @@ -529,7 +529,7 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) // now move the selected draw objects pView->MoveAllMarked(Size(nX, nY)); - // #97016# II + // II pView->MakeVisible(pView->GetAllMarkedRect(), *pWindow); bReturn = TRUE; @@ -655,7 +655,7 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) if (!bReturn) { - // #98198# allow direct typing into a selected text object + // allow direct typing into a selected text object const SdrMarkList& rMarkList = pView->GetMarkedObjectList(); if( !pView->IsTextEdit() && 1 == rMarkList.GetMarkCount() && EditEngine::IsSimpleCharInput(rKEvt) ) @@ -671,7 +671,7 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt) return (bReturn); } -// #97016# II +// II void FuDraw::SelectionHasChanged() { const SdrHdlList& rHdlList = pView->GetHdlList(); diff --git a/sc/source/ui/drawfunc/fuins1.cxx b/sc/source/ui/drawfunc/fuins1.cxx index 2eb8e2de08cc..2ae18fd3d7e8 100644 --- a/sc/source/ui/drawfunc/fuins1.cxx +++ b/sc/source/ui/drawfunc/fuins1.cxx @@ -106,7 +106,7 @@ void lcl_InsertGraphic( const Graphic& rGraphic, const String& rFileName, const String& rFilterName, BOOL bAsLink, BOOL bApi, ScTabViewShell* pViewSh, Window* pWindow, SdrView* pView ) { - // #74778# set the size so the graphic has its original pixel size + // set the size so the graphic has its original pixel size // at 100% view scale (as in SetMarkedOriginalSize), // instead of respecting the current view scale @@ -139,9 +139,9 @@ void lcl_InsertGraphic( const Graphic& rGraphic, SdrGrafObj* pObj = new SdrGrafObj( rGraphic, aRect ); - // #118522# calling SetGraphicLink here doesn't work + // calling SetGraphicLink here doesn't work - // #49961# Path is no longer used as name for the graphics object + // Path is no longer used as name for the graphics object ScDrawLayer* pLayer = (ScDrawLayer*) pView->GetModel(); String aName = pLayer->GetNewGraphicName(); // "Grafik x" @@ -151,7 +151,7 @@ void lcl_InsertGraphic( const Graphic& rGraphic, ULONG nInsOptions = bApi ? SDRINSERT_DONTMARK : 0; pView->InsertObjectAtView( pObj, *pPV, nInsOptions ); - // #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 ( bAsLink ) diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx index 69b827073939..3df3e7b6b968 100644 --- a/sc/source/ui/drawfunc/fuins2.cxx +++ b/sc/source/ui/drawfunc/fuins2.cxx @@ -401,7 +401,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pVie if ( nAspect != embed::Aspects::MSOLE_ICON ) { - // #73279# Math objects change their object size during InsertObject. + // Math objects change their object size during InsertObject. // New size must be set in SdrObject, or a wrong scale will be set at // ActivateObject. @@ -427,7 +427,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pVie // XXX Activate aus Makro ist toedlich !!! ??? if (bIsFromFile) { - // #45012# Objekt ist selektiert, also Draw-Shell aktivieren + // Objekt ist selektiert, also Draw-Shell aktivieren pViewShell->SetDrawShell( TRUE ); } else @@ -612,7 +612,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* nToTable = ((const SfxUInt16Item*)pItem)->GetValue(); else if ( pItem->ISA( SfxBoolItem ) ) { - // #46033# in der idl fuer Basic steht FN_PARAM_4 als SfxBoolItem + // in der idl fuer Basic steht FN_PARAM_4 als SfxBoolItem // -> wenn gesetzt, neue Tabelle, sonst aktuelle Tabelle if ( ((const SfxBoolItem*)pItem)->GetValue() ) diff --git a/sc/source/ui/drawfunc/fumark.cxx b/sc/source/ui/drawfunc/fumark.cxx index dfbf584bc8bd..199331bd6e48 100644 --- a/sc/source/ui/drawfunc/fumark.cxx +++ b/sc/source/ui/drawfunc/fumark.cxx @@ -75,7 +75,7 @@ FuMarkRect::~FuMarkRect() BOOL FuMarkRect::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); pWindow->CaptureMouse(); @@ -123,7 +123,7 @@ BOOL FuMarkRect::MouseMove(const MouseEvent& rMEvt) BOOL FuMarkRect::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); if ( bVisible ) @@ -172,7 +172,7 @@ BYTE FuMarkRect::Command(const CommandEvent& rCEvt) { if ( COMMAND_STARTDRAG == rCEvt.GetCommand() ) { - // #29877# nicht anfangen, auf der Tabelle rumzudraggen, + // nicht anfangen, auf der Tabelle rumzudraggen, // aber Maus-Status nicht zuruecksetzen return SC_CMD_IGNORE; } diff --git a/sc/source/ui/drawfunc/fupoor.cxx b/sc/source/ui/drawfunc/fupoor.cxx index 370385aace20..232a619589e2 100644 --- a/sc/source/ui/drawfunc/fupoor.cxx +++ b/sc/source/ui/drawfunc/fupoor.cxx @@ -57,7 +57,7 @@ FuPoor::FuPoor(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pViewP, aSfxRequest(rReq), pDialog(NULL), bIsInDragMode(FALSE), - // #95491# remember MouseButton state + // remember MouseButton state mnCode(0) { aScrollTimer.SetTimeoutHdl( LINK(this, FuPoor, ScrollHdl) ); @@ -170,7 +170,7 @@ IMPL_LINK_INLINE_START( FuPoor, ScrollHdl, Timer *, EMPTYARG ) { Point aPosPixel = pWindow->GetPointerPosPixel(); - // #95491# use remembered MouseButton state to create correct + // use remembered MouseButton state to create correct // MouseEvents for this artifical MouseMove. MouseMove(MouseEvent(aPosPixel, 1, 0, GetMouseButtonCode())); @@ -178,19 +178,19 @@ IMPL_LINK_INLINE_START( FuPoor, ScrollHdl, Timer *, EMPTYARG ) } IMPL_LINK_INLINE_END( FuPoor, ScrollHdl, Timer *, pTimer ) -// #95491# moved from inline to *.cxx +// moved from inline to *.cxx BOOL FuPoor::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); return FALSE; } -// #95491# moved from inline to *.cxx +// moved from inline to *.cxx BOOL FuPoor::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); return FALSE; @@ -351,7 +351,7 @@ void FuPoor::StopDragTimer() /************************************************************************* |* -|* #98185# Create default drawing objects via keyboard +|* Create default drawing objects via keyboard |* \************************************************************************/ diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx index 5e1cb365614e..d7e95b311fd6 100644 --- a/sc/source/ui/drawfunc/fusel.cxx +++ b/sc/source/ui/drawfunc/fusel.cxx @@ -110,7 +110,7 @@ BYTE FuSelection::Command(const CommandEvent& rCEvt) BOOL FuSelection::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); const bool bSelectionOnly = rMEvt.IsRight(); if ( pView->IsAction() ) @@ -294,7 +294,7 @@ BOOL FuSelection::MouseButtonDown(const MouseEvent& rMEvt) //******************************************************** if (pView->IsMarkedHit(aMDPos)) { - // #95834# Don't start drag timer if inplace editing of an OLE object + // Don't start drag timer if inplace editing of an OLE object // was just ended with this mouse click - the view will be moved // (different tool bars) and the object that was clicked on would // be moved unintentionally. @@ -386,7 +386,7 @@ BOOL FuSelection::MouseMove(const MouseEvent& rMEvt) BOOL FuSelection::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FuDraw::MouseButtonUp(rMEvt); @@ -476,7 +476,7 @@ BOOL FuSelection::MouseButtonUp(const MouseEvent& rMEvt) SdrMark* pMark = rMarkList.GetMark(0); SdrObject* pObj = pMark->GetMarkedSdrObj(); - // #43984# aktivieren nur, wenn die Maus auch (noch) ueber dem + // aktivieren nur, wenn die Maus auch (noch) ueber dem // selektierten Objekt steht SdrViewEvent aVEvt; @@ -502,7 +502,7 @@ BOOL FuSelection::MouseButtonUp(const MouseEvent& rMEvt) // // Edit text - // #49458# not in UNO controls + // not in UNO controls // #i32352# not in media objects // else if ( pObj->ISA(SdrTextObj) && !pObj->ISA(SdrUnoObj) && !pObj->ISA(SdrMediaObj) ) diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx index edb0b31dbdfe..9616d8a306d7 100644 --- a/sc/source/ui/drawfunc/futext.cxx +++ b/sc/source/ui/drawfunc/futext.cxx @@ -50,7 +50,7 @@ #include "tabvwsh.hxx" #include "drawview.hxx" -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard #include "scresid.hxx" // Maximal erlaubte Mausbewegung um noch Drag&Drop zu starten @@ -134,7 +134,7 @@ FuText::~FuText() BOOL FuText::MouseButtonDown(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); if ( pView->MouseButtonDown(rMEvt, pWindow) ) @@ -384,7 +384,7 @@ BOOL FuText::MouseMove(const MouseEvent& rMEvt) BOOL FuText::MouseButtonUp(const MouseEvent& rMEvt) { - // #95491# remember button state for creation of own MouseEvents + // remember button state for creation of own MouseEvents SetMouseButtonCode(rMEvt.GetButtons()); BOOL bReturn = FALSE; @@ -444,7 +444,7 @@ BOOL FuText::MouseButtonUp(const MouseEvent& rMEvt) } } - // #93382# init object different when vertical writing + // init object different when vertical writing sal_uInt16 nSlotID(aSfxRequest.GetSlot()); BOOL bVertical = (SID_DRAW_TEXT_VERTICAL == nSlotID); if(bVertical) @@ -745,7 +745,7 @@ void FuText::SetInEditMode(SdrObject* pObj, const Point* pMousePixel, } } -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard SdrObject* FuText::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle) { // case SID_DRAW_TEXT: @@ -764,7 +764,7 @@ SdrObject* FuText::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rR SdrTextObj* pText = (SdrTextObj*)pObj; pText->SetLogicRect(rRectangle); - // #105815# don't set default text, start edit mode instead + // don't set default text, start edit mode instead // String aText(ScResId(STR_CAPTION_DEFAULT_TEXT)); // pText->SetText(aText); @@ -799,7 +799,7 @@ SdrObject* FuText::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rR pObj->SetMergedItemSetAndBroadcast(aSet); } - SetInEditMode( pObj ); // #105815# start edit mode + SetInEditMode( pObj ); // start edit mode } else { diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx index 2c4071d2e04f..d2da590cdc07 100644 --- a/sc/source/ui/formdlg/formula.cxx +++ b/sc/source/ui/formdlg/formula.cxx @@ -335,7 +335,7 @@ bool ScFormulaDlg::calculateValue( const String& rStrExp, String& rStrResult ) ::std::auto_ptr<ScFormulaCell> pFCell( new ScFormulaCell( pDoc, aCursorPos, rStrExp ) ); - // #35521# HACK! um bei ColRowNames kein #REF! zu bekommen, + // HACK! um bei ColRowNames kein #REF! zu bekommen, // wenn ein Name eigentlich als Bereich in die Gesamt-Formel // eingefuegt wird, bei der Einzeldarstellung aber als // single-Zellbezug interpretiert wird diff --git a/sc/source/ui/inc/fuconarc.hxx b/sc/source/ui/inc/fuconarc.hxx index 29a058d5196b..ea7a67d5d356 100644 --- a/sc/source/ui/inc/fuconarc.hxx +++ b/sc/source/ui/inc/fuconarc.hxx @@ -53,7 +53,7 @@ class FuConstArc : public FuConstruct virtual void Activate(); // Function aktivieren virtual void Deactivate(); // Function deaktivieren - // #98185# Create default drawing objects via keyboard + // Create default drawing objects via keyboard virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle); }; diff --git a/sc/source/ui/inc/fuconcustomshape.hxx b/sc/source/ui/inc/fuconcustomshape.hxx index 0a64a8a91aab..6afa6be65021 100644 --- a/sc/source/ui/inc/fuconcustomshape.hxx +++ b/sc/source/ui/inc/fuconcustomshape.hxx @@ -51,7 +51,7 @@ public: virtual void Activate(); // Function aktivieren virtual void Deactivate(); // Function deaktivieren - // #98185# Create default drawing objects via keyboard + // Create default drawing objects via keyboard virtual SdrObject* CreateDefaultObject( const sal_uInt16 nID, const Rectangle& rRectangle ); // #i33136# diff --git a/sc/source/ui/inc/fuconpol.hxx b/sc/source/ui/inc/fuconpol.hxx index caf92263c394..894dcd4193eb 100644 --- a/sc/source/ui/inc/fuconpol.hxx +++ b/sc/source/ui/inc/fuconpol.hxx @@ -55,7 +55,7 @@ class FuConstPolygon : public FuConstruct virtual void Activate(); // Function aktivieren virtual void Deactivate(); // Function deaktivieren - // #98185# Create default drawing objects via keyboard + // Create default drawing objects via keyboard virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle); }; diff --git a/sc/source/ui/inc/fuconrec.hxx b/sc/source/ui/inc/fuconrec.hxx index b447bc846c0a..dede18b8b03f 100644 --- a/sc/source/ui/inc/fuconrec.hxx +++ b/sc/source/ui/inc/fuconrec.hxx @@ -53,7 +53,7 @@ class FuConstRectangle : public FuConstruct virtual void Activate(); // Function aktivieren virtual void Deactivate(); // Function deaktivieren - // #98185# Create default drawing objects via keyboard + // Create default drawing objects via keyboard virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle); }; diff --git a/sc/source/ui/inc/fuconuno.hxx b/sc/source/ui/inc/fuconuno.hxx index 3e1c90924e16..44ce6876a4bc 100644 --- a/sc/source/ui/inc/fuconuno.hxx +++ b/sc/source/ui/inc/fuconuno.hxx @@ -58,7 +58,7 @@ public: virtual void Activate(); // Function aktivieren virtual void Deactivate(); // Function deaktivieren - // #98185# Create default drawing objects via keyboard + // Create default drawing objects via keyboard virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle); }; diff --git a/sc/source/ui/inc/fudraw.hxx b/sc/source/ui/inc/fudraw.hxx index 5c0ac0c204c4..a88580144301 100644 --- a/sc/source/ui/inc/fudraw.hxx +++ b/sc/source/ui/inc/fudraw.hxx @@ -63,7 +63,7 @@ class FuDraw : public FuPoor virtual BOOL MouseButtonUp(const MouseEvent& rMEvt); virtual BOOL MouseButtonDown(const MouseEvent& rMEvt); - // #97016# II + // II virtual void SelectionHasChanged(); BOOL IsSizingOrMovingNote( const MouseEvent& rMEvt ) const; diff --git a/sc/source/ui/inc/fupoor.hxx b/sc/source/ui/inc/fupoor.hxx index 279d6e1873cf..237432e763f2 100644 --- a/sc/source/ui/inc/fupoor.hxx +++ b/sc/source/ui/inc/fupoor.hxx @@ -39,7 +39,7 @@ class Window; class SdrModel; class Dialog; -// #98185# Create default drawing objects via keyboard +// Create default drawing objects via keyboard class SdrObject; // Return-Werte fuer Command @@ -74,7 +74,7 @@ protected: BOOL bIsInDragMode; Point aMDPos; // Position von MouseButtonDown - // #95491# member to hold state of the mouse buttons for creation + // member to hold state of the mouse buttons for creation // of own MouseEvents (like in ScrollHdl) private: sal_uInt16 mnCode; @@ -84,7 +84,7 @@ public: SdrModel* pDoc, SfxRequest& rReq); virtual ~FuPoor(); - // #95491# see member + // see member void SetMouseButtonCode(sal_uInt16 nNew) { if(nNew != mnCode) mnCode = nNew; } sal_uInt16 GetMouseButtonCode() const { return mnCode; } @@ -98,10 +98,10 @@ public: virtual BOOL KeyInput(const KeyEvent& rKEvt); virtual BOOL MouseMove(const MouseEvent&) { return FALSE; } - // #95491# moved from inline to *.cxx + // moved from inline to *.cxx virtual BOOL MouseButtonUp(const MouseEvent& rMEvt); // { return FALSE; } - // #95491# moved from inline to *.cxx + // moved from inline to *.cxx virtual BOOL MouseButtonDown(const MouseEvent& rMEvt); // { return FALSE; } virtual BYTE Command(const CommandEvent& rCEvt); @@ -120,7 +120,7 @@ public: void StopDragTimer(); - // #98185# Create default drawing objects via keyboard + // Create default drawing objects via keyboard virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle); protected: diff --git a/sc/source/ui/inc/futext.hxx b/sc/source/ui/inc/futext.hxx index aa1290ae28e1..2af36d3aa5de 100644 --- a/sc/source/ui/inc/futext.hxx +++ b/sc/source/ui/inc/futext.hxx @@ -69,7 +69,7 @@ public: void StopEditMode(BOOL bTextDirection = FALSE); void StopDragMode(SdrObject* pObject); - // #98185# Create default drawing objects via keyboard + // Create default drawing objects via keyboard virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle); private: diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx index 2f671ba603b1..61bcfeb4b045 100644 --- a/sc/source/ui/miscdlgs/acredlin.cxx +++ b/sc/source/ui/miscdlgs/acredlin.cxx @@ -213,7 +213,7 @@ void ScAcceptChgDlg::ReInit(ScViewData* ptrViewData) bAcceptEnableFlag=TRUE; bRejectEnableFlag=TRUE; - // #91781# don't call Init here (switching between views), just set link below + // don't call Init here (switching between views), just set link below // (dialog is just hidden, not deleted anymore, when switching views) ClearView(); UpdateView(); diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index 3bff0199efc3..c7676c9166c6 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -102,7 +102,7 @@ void ScFormulaReferenceHelper::enableInput( BOOL bEnable ) SfxViewFrame* pFrame = SfxViewFrame::GetFirst( pDocShell ); while( pFrame ) { - // #71577# enable everything except InPlace, including bean frames + // enable everything except InPlace, including bean frames if ( !pFrame->GetFrame().IsInPlace() ) { SfxViewShell* p = pFrame->GetViewShell(); @@ -589,7 +589,7 @@ void ScFormulaReferenceHelper::EnableSpreadsheets(BOOL bFlag, BOOL bChilds) SfxViewFrame* pFrame = SfxViewFrame::GetFirst( pDocShell ); while( pFrame ) { - // #71577# enable everything except InPlace, including bean frames + // enable everything except InPlace, including bean frames if ( !pFrame->GetFrame().IsInPlace() ) { SfxViewShell* p = pFrame->GetViewShell(); @@ -629,7 +629,7 @@ void lcl_InvalidateWindows() SfxViewFrame* pFrame = SfxViewFrame::GetFirst( pDocShell ); while( pFrame ) { - // #71577# enable everything except InPlace, including bean frames + // enable everything except InPlace, including bean frames if ( !pFrame->GetFrame().IsInPlace() ) { SfxViewShell* p = pFrame->GetViewShell(); diff --git a/sc/source/ui/miscdlgs/linkarea.cxx b/sc/source/ui/miscdlgs/linkarea.cxx index ce23e6cb1728..93094b589776 100644 --- a/sc/source/ui/miscdlgs/linkarea.cxx +++ b/sc/source/ui/miscdlgs/linkarea.cxx @@ -232,7 +232,7 @@ IMPL_LINK( ScLinkedAreaDlg, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg { WaitObject aWait( this ); - // #92296# replace HTML filter with DataQuery filter + // replace HTML filter with DataQuery filter const String aHTMLFilterName( RTL_CONSTASCII_USTRINGPARAM( FILTERNAME_HTML ) ); const String aWebQFilterName( RTL_CONSTASCII_USTRINGPARAM( FILTERNAME_QUERY ) ); diff --git a/sc/source/ui/miscdlgs/mtrindlg.cxx b/sc/source/ui/miscdlgs/mtrindlg.cxx index 76b70d01056d..972fe37e5abe 100644 --- a/sc/source/ui/miscdlgs/mtrindlg.cxx +++ b/sc/source/ui/miscdlgs/mtrindlg.cxx @@ -129,7 +129,7 @@ void ScMetricInputDlg::CalcPositions() Point aNewPos; aFtSize.Width() = aFtEditTitle.GetTextWidth(aFtEditTitle.GetText()); - // #95990# add mnemonic char width to fixed text width + // add mnemonic char width to fixed text width aFtSize.Width() += aFtEditTitle.GetTextWidth(String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("(W)"))); aFtEditTitle.SetSizePixel( aFtSize ); diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 78918415c40f..ebc88115f8e0 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -311,7 +311,7 @@ IMPL_LINK( ScContentTree, ContentDoubleClickHdl, ScContentTree *, EMPTYARG ) case SC_CONTENT_DBAREA: { - // #47905# Wenn gleiche Bereichs- und DB-Namen existieren, wird + // Wenn gleiche Bereichs- und DB-Namen existieren, wird // bei SID_CURRENTCELL der Bereichsname genommen. // DB-Bereiche darum direkt ueber die Adresse anspringen. diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index d869904da174..670cd0d02125 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -481,7 +481,7 @@ IMPL_LINK( CommandToolBox, ToolBoxDropdownClickHdl, ToolBox*, EMPTYARG ) if ( nId >= RID_DROPMODE_URL && nId <= RID_DROPMODE_COPY ) rDlg.SetDropMode( nId - RID_DROPMODE_URL ); - // #49956# den gehighlighteten Button aufheben + // den gehighlighteten Button aufheben Point aPoint; MouseEvent aLeave( aPoint, 0, MOUSE_LEAVEWINDOW | MOUSE_SYNTHETIC ); MouseMove( aLeave ); @@ -825,7 +825,7 @@ void ScNavigatorDlg::DoResize() Size aNewSize = GetOutputSizePixel(); long nTotalHeight = aNewSize.Height(); - // #41403# bei angedocktem Navigator wird das Fenster evtl. erst klein erzeugt, + // bei angedocktem Navigator wird das Fenster evtl. erst klein erzeugt, // dann kommt ein Resize auf die wirkliche Groesse -> dann Inhalte einschalten BOOL bSmall = ( nTotalHeight <= aInitSize.Height() + SCNAV_MINTOL ); @@ -1078,7 +1078,7 @@ ScTabViewShell* ScNavigatorDlg::GetTabViewShell() const ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings() { - // #95791# Don't store the settings pointer here, because the settings belong to + // Don't store the settings pointer here, because the settings belong to // the view, and the view may be closed while the navigator is open (reload). // If the pointer is cached here again later for performance reasons, it has to // be forgotten when the view is closed. diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx index d408fb093bc5..005824580fd4 100644 --- a/sc/source/ui/optdlg/tpview.cxx +++ b/sc/source/ui/optdlg/tpview.cxx @@ -365,7 +365,7 @@ void ScTpContentOptions::InitGridOpt() Invalidate(); } - // #79720# also select grid color entry on subsequent calls + // also select grid color entry on subsequent calls String aName; Color aCol = pLocalOptions->GetGridColor( &aName ); diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx index 5f901b9a4ddd..7769f39bcd30 100644 --- a/sc/source/ui/pagedlg/tphfedit.cxx +++ b/sc/source/ui/pagedlg/tphfedit.cxx @@ -155,7 +155,7 @@ void ScEditWindow::SetNumType(SvxNumType eNumType) EditTextObject* ScEditWindow::CreateTextObject() { - // wegen #38841# die Absatzattribute zuruecksetzen + // Absatzattribute zuruecksetzen // (GetAttribs beim Format-Dialog-Aufruf gibt immer gesetzte Items zurueck) const SfxItemSet& rEmpty = pEdEngine->GetEmptyItemSet(); diff --git a/sc/source/ui/undo/refundo.cxx b/sc/source/ui/undo/refundo.cxx index e4ca41b3ed30..3763dfc89f05 100644 --- a/sc/source/ui/undo/refundo.cxx +++ b/sc/source/ui/undo/refundo.cxx @@ -189,7 +189,7 @@ void ScRefUndoData::DoUndo( ScDocument* pDoc, BOOL bUndoRefFirst ) if (pDetOpList) pDoc->SetDetOpList( new ScDetOpList(*pDetOpList) ); - // #65055# bUndoRefFirst ist bSetChartRangeLists + // bUndoRefFirst ist bSetChartRangeLists if ( pChartListenerCollection ) pDoc->SetChartListenerCollection( new ScChartListenerCollection( *pChartListenerCollection ), bUndoRefFirst ); diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx index 240dba0a5c7d..609c2eb05924 100644 --- a/sc/source/ui/undo/undobase.cxx +++ b/sc/source/ui/undo/undobase.cxx @@ -293,7 +293,7 @@ void ScMoveUndo::UndoRef() pRefUndoDoc->CopyToDocument( aRange, IDF_FORMULA, FALSE, pDoc, NULL, FALSE ); if (pRefUndoData) pRefUndoData->DoUndo( pDoc, (eMode == SC_UNDO_REFFIRST) ); - // #65055# HACK: ScDragDropUndo ist der einzige mit REFFIRST. + // HACK: ScDragDropUndo ist der einzige mit REFFIRST. // Falls nicht, resultiert daraus evtl. ein zu haeufiges Anpassen // der ChartRefs, nicht schoen, aber auch nicht schlecht.. } @@ -310,7 +310,7 @@ void ScMoveUndo::BeginUndo() void ScMoveUndo::EndUndo() { - DoSdrUndoAction( pDrawUndo, pDocShell->GetDocument() ); // #125875# must also be called when pointer is null + DoSdrUndoAction( pDrawUndo, pDocShell->GetDocument() ); // must also be called when pointer is null if (pRefUndoDoc && eMode == SC_UNDO_REFLAST) UndoRef(); diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index e9fa40f40ae6..84ea5d60050d 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -322,7 +322,7 @@ void ScUndoInsertCells::Repeat(SfxRepeatTarget& rTarget) { if ( pPasteUndo ) { - // #94115# Repeat for paste with inserting cells is handled completely + // Repeat for paste with inserting cells is handled completely // by the Paste undo action pPasteUndo->Repeat( rTarget ); @@ -1114,7 +1114,7 @@ void ScUndoPaste::Repeat(SfxRepeatTarget& rTarget) ScTransferObj* pOwnClip = ScTransferObj::GetOwnClipboard( pViewSh->GetActiveWin() ); 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 com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable> aOwnClipRef( pOwnClip ); pViewSh->PasteFromClip( nFlags, pOwnClip->GetDocument(), aPasteOptions.nFunction, aPasteOptions.bSkipEmpty, aPasteOptions.bTranspose, diff --git a/sc/source/ui/undo/undoblk3.cxx b/sc/source/ui/undo/undoblk3.cxx index 625eaef4bd96..98e54efc7dfd 100644 --- a/sc/source/ui/undo/undoblk3.cxx +++ b/sc/source/ui/undo/undoblk3.cxx @@ -1259,7 +1259,7 @@ void ScUndoReplace::Undo() } else { - // #78889# aUndoStr may contain line breaks + // aUndoStr may contain line breaks if ( aUndoStr.Search('\n') != STRING_NOTFOUND ) pDoc->PutCell( aCursorPos, new ScEditCell( aUndoStr, pDoc ) ); else diff --git a/sc/source/ui/undo/undoolk.cxx b/sc/source/ui/undo/undoolk.cxx index bfb1e0a27cc6..31c96cb0b061 100644 --- a/sc/source/ui/undo/undoolk.cxx +++ b/sc/source/ui/undo/undoolk.cxx @@ -58,7 +58,7 @@ void DoSdrUndoAction( SdrUndoAction* pUndoAction, ScDocument* pDoc ) pUndoAction->Undo(); else { - // #125875# if no drawing layer existed when the action was created, + // if no drawing layer existed when the action was created, // but it was created after that, there is no draw undo action, // and after undo there might be a drawing layer with a wrong page count. // The drawing layer must have been empty in that case, so any missing @@ -81,7 +81,7 @@ void DoSdrUndoAction( SdrUndoAction* pUndoAction, ScDocument* pDoc ) void RedoSdrUndoAction( SdrUndoAction* pUndoAction ) { - // #125875# DoSdrUndoAction/RedoSdrUndoAction is called even if the pointer is null + // DoSdrUndoAction/RedoSdrUndoAction is called even if the pointer is null if ( pUndoAction ) pUndoAction->Redo(); diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index d30f22b456bf..bba13a2c5f6a 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -1133,7 +1133,7 @@ BOOL lcl_PutDataArray( ScDocShell& rDocShell, const ScRange& rRange, eElemClass == uno::TypeClass_FLOAT || eElemClass == uno::TypeClass_DOUBLE ) { - // #87871# accept integer types because Basic passes a floating point + // accept integer types because Basic passes a floating point // variable as byte, short or long if it's an integer number. double fVal(0.0); rElement >>= fVal; @@ -1384,7 +1384,7 @@ ScCellRangesBase::ScCellRangesBase(ScDocShell* pDocSh, const ScRangeList& rR) : ScCellRangesBase::~ScCellRangesBase() { - // #107294# call RemoveUnoObject first, so no notification can happen + // call RemoveUnoObject first, so no notification can happen // during ForgetCurrentAttrs if (pDocShell) @@ -1500,7 +1500,7 @@ void ScCellRangesBase::Notify( SfxBroadcaster&, const SfxHint& rHint ) } RefChanged(); - // #129050# any change of the range address is broadcast to value (modify) listeners + // any change of the range address is broadcast to value (modify) listeners if ( aValueListeners.Count() ) bGotDataChangedHint = TRUE; @@ -1920,7 +1920,7 @@ void SAL_CALL ScCellRangesBase::setPropertyToDefault( const rtl::OUString& aProp aWIDs[0] = nItemWhich; if ( nItemWhich == ATTR_VALUE_FORMAT ) { - aWIDs[1] = ATTR_LANGUAGE_FORMAT; // #67847# language for number formats + aWIDs[1] = ATTR_LANGUAGE_FORMAT; // language for number formats aWIDs[2] = 0; } else @@ -2068,7 +2068,7 @@ void lcl_SetCellProperty( const SfxItemPropertySimpleEntry& rEntry, const uno::A { case ATTR_VALUE_FORMAT: { - // #67847# language for number formats + // language for number formats SvNumberFormatter* pFormatter = pDoc->GetFormatTable(); ULONG nOldFormat = ((const SfxUInt32Item&)rSet.Get( ATTR_VALUE_FORMAT )).GetValue(); LanguageType eOldLang = ((const SvxLanguageItem&)rSet.Get( ATTR_LANGUAGE_FORMAT )).GetLanguage(); @@ -2087,7 +2087,7 @@ void lcl_SetCellProperty( const SfxItemPropertySimpleEntry& rEntry, const uno::A { rSet.Put( SvxLanguageItem( eNewLang, ATTR_LANGUAGE_FORMAT ) ); - // #40606# if only language is changed, + // if only language is changed, // don't touch number format attribute ULONG nNewMod = nNewFormat % SV_COUNTRY_LANGUAGE_OFFSET; if ( nNewMod == ( nOldFormat % SV_COUNTRY_LANGUAGE_OFFSET ) && @@ -3754,7 +3754,7 @@ uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryPreceden { bFound = FALSE; - // #97205# aMarkData uses aNewRanges, not aRanges, so GetMarkData can't be used + // aMarkData uses aNewRanges, not aRanges, so GetMarkData can't be used ScMarkData aMarkData; aMarkData.MarkFromRangeList( aNewRanges, FALSE ); aMarkData.MarkToMulti(); // needed for IsAllMarked @@ -3807,7 +3807,7 @@ uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryDependen { bFound = FALSE; - // #97205# aMarkData uses aNewRanges, not aRanges, so GetMarkData can't be used + // aMarkData uses aNewRanges, not aRanges, so GetMarkData can't be used ScMarkData aMarkData; aMarkData.MarkFromRangeList( aNewRanges, FALSE ); aMarkData.MarkToMulti(); // needed for IsAllMarked @@ -5068,7 +5068,7 @@ void ScCellRangeObj::SetArrayFormula_Impl( const rtl::OUString& rFormula, { if ( ScTableSheetObj::getImplementation( (cppu::OWeakObject*)this ) ) { - // #74681# don't set array formula for sheet object + // don't set array formula for sheet object throw uno::RuntimeException(); } @@ -6379,7 +6379,7 @@ void SAL_CALL ScCellObj::insertTextContent( const uno::Reference<text::XTextRang aSelection.nEndPos = aSelection.nStartPos + 1; pCellField->InitDoc( pDocSh, aCellPos, aSelection ); - // #91431# for bAbsorb=FALSE, the new selection must be behind the inserted content + // for bAbsorb=FALSE, the new selection must be behind the inserted content // (the xml filter relies on this) if (!bAbsorb) aSelection.nStartPos = aSelection.nEndPos; diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index b213cff0dfb6..fe4ed654464b 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1939,7 +1939,7 @@ uno::Reference<uno::XInterface> SAL_CALL ScModelObj::createInstance( { } - // #96117# if the drawing factory created a shape, a ScShapeObj has to be used + // if the drawing factory created a shape, a ScShapeObj has to be used // to support own properties like ImageMap: uno::Reference<drawing::XShape> xShape( xRet, uno::UNO_QUERY ); diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx index 92bdcea25e47..eeb4c2d71a2b 100644 --- a/sc/source/ui/unoobj/fmtuno.cxx +++ b/sc/source/ui/unoobj/fmtuno.cxx @@ -695,7 +695,7 @@ ScTableValidationObj::ScTableValidationObj(ScDocument* pDoc, ULONG nKey, if (pData) { nMode = sal::static_int_cast<USHORT>( pData->GetOperation() ); - aSrcPos = pData->GetValidSrcPos(); // #b4974740# valid pos for expressions + aSrcPos = pData->GetValidSrcPos(); // valid pos for expressions aExpr1 = pData->GetExpression( aSrcPos, 0, 0, eGrammar ); aExpr2 = pData->GetExpression( aSrcPos, 1, 0, eGrammar ); meGrammar1 = meGrammar2 = eGrammar; diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx index 784eb4f9bad2..f4b8633d0964 100644 --- a/sc/source/ui/unoobj/funcuno.cxx +++ b/sc/source/ui/unoobj/funcuno.cxx @@ -451,7 +451,7 @@ public: eElemClass == uno::TypeClass_FLOAT || eElemClass == uno::TypeClass_DOUBLE ) { - // #87871# accept integer types because Basic passes a floating point + // accept integer types because Basic passes a floating point // variable as byte, short or long if it's an integer number. double fVal(0.0); rElement >>= fVal; @@ -601,7 +601,7 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const rtl::OUString& aName, eClass == uno::TypeClass_FLOAT || eClass == uno::TypeClass_DOUBLE ) { - // #87871# accept integer types because Basic passes a floating point + // accept integer types because Basic passes a floating point // variable as byte, short or long if it's an integer number. double fVal = 0; rArg >>= fVal; diff --git a/sc/source/ui/unoobj/scdetect.cxx b/sc/source/ui/unoobj/scdetect.cxx index 7dfbcfcae12f..3e49c57c23e5 100644 --- a/sc/source/ui/unoobj/scdetect.cxx +++ b/sc/source/ui/unoobj/scdetect.cxx @@ -491,7 +491,7 @@ static BOOL lcl_MayBeDBase( SvStream& rStream ) } else if ( aOldName.EqualsAscii(pFilterEx97Temp) ) { - // #101923# auto detection has found template -> return Excel5 template + // auto detection has found template -> return Excel5 template pFilter = aMatcher.GetFilter4FilterName( String::CreateFromAscii(pFilterEx5Temp) ); } else diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx index c96e7e4b851e..77b19ee44b6c 100644 --- a/sc/source/ui/unoobj/servuno.cxx +++ b/sc/source/ui/unoobj/servuno.cxx @@ -57,7 +57,7 @@ #include "chart2uno.hxx" #include "tokenuno.hxx" -// #100263# Support creation of GraphicObjectResolver and EmbeddedObjectResolver +// Support creation of GraphicObjectResolver and EmbeddedObjectResolver #include <svx/xmleohlp.hxx> #include <svx/xmlgrhlp.hxx> #include <sfx2/docfile.hxx> @@ -277,7 +277,7 @@ static const ProvNamesId_Type aProvNamesId[] = { "com.sun.star.image.ImageMapCircleObject", SC_SERVICE_IMAP_CIRC }, { "com.sun.star.image.ImageMapPolygonObject", SC_SERVICE_IMAP_POLY }, - // #100263# Support creation of GraphicObjectResolver and EmbeddedObjectResolver + // Support creation of GraphicObjectResolver and EmbeddedObjectResolver { "com.sun.star.document.ExportGraphicObjectResolver", SC_SERVICE_EXPORT_GOR }, { "com.sun.star.document.ImportGraphicObjectResolver", SC_SERVICE_IMPORT_GOR }, { "com.sun.star.document.ExportEmbeddedObjectResolver", SC_SERVICE_EXPORT_EOR }, @@ -345,7 +345,7 @@ static const sal_Char* aOldNames[SC_SERVICE_COUNT] = "", // SC_SERVICE_IMAP_CIRC "", // SC_SERVICE_IMAP_POLY - // #100263# Support creation of GraphicObjectResolver and EmbeddedObjectResolver + // Support creation of GraphicObjectResolver and EmbeddedObjectResolver "", // SC_SERVICE_EXPORT_GOR "", // SC_SERVICE_IMPORT_GOR "", // SC_SERVICE_EXPORT_EOR @@ -497,7 +497,7 @@ uno::Reference<uno::XInterface> ScServiceProvider::MakeInstance( xRet.set(SvUnoImageMapPolygonObject_createInstance( ScShapeObj::GetSupportedMacroItems() )); break; - // #100263# Support creation of GraphicObjectResolver and EmbeddedObjectResolver + // Support creation of GraphicObjectResolver and EmbeddedObjectResolver case SC_SERVICE_EXPORT_GOR: xRet.set((::cppu::OWeakObject * )new SvXMLGraphicHelper( GRAPHICHELPER_MODE_WRITE )); break; diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx index 07171c8bf5d5..f17b6097775b 100644 --- a/sc/source/ui/unoobj/shapeuno.cxx +++ b/sc/source/ui/unoobj/shapeuno.cxx @@ -1142,7 +1142,7 @@ void SAL_CALL ScShapeObj::insertTextContent( const uno::Reference<text::XTextRan ScCellFieldObj* pCellField = ScCellFieldObj::getImplementation( xContent ); if ( pCellField ) { - // #105585# createInstance("TextField.URL") from the document creates a ScCellFieldObj. + // createInstance("TextField.URL") from the document creates a ScCellFieldObj. // To insert it into drawing text, a SvxUnoTextField is needed instead. // The ScCellFieldObj object is left in non-inserted state. diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx index 1d0e4c0f2356..49525f450d6c 100644 --- a/sc/source/ui/unoobj/styleuno.cxx +++ b/sc/source/ui/unoobj/styleuno.cxx @@ -1214,7 +1214,7 @@ void SAL_CALL ScStyleObj::setParentStyle( const rtl::OUString& rParentStyle ) SfxStyleSheetBase* pStyle = GetStyle_Impl(); if (pStyle) { - // #70909# cell styles cannot be modified if any sheet is protected + // cell styles cannot be modified if any sheet is protected if ( eFamily == SFX_STYLE_FAMILY_PARA && lcl_AnyTabProtected( *pDocShell->GetDocument() ) ) return; //! exception? @@ -1270,7 +1270,7 @@ void SAL_CALL ScStyleObj::setName( const rtl::OUString& aNewName ) SfxStyleSheetBase* pStyle = GetStyle_Impl(); if (pStyle) { - // #71225# cell styles cannot be renamed if any sheet is protected + // cell styles cannot be renamed if any sheet is protected if ( eFamily == SFX_STYLE_FAMILY_PARA && lcl_AnyTabProtected( *pDocShell->GetDocument() ) ) return; //! exception? @@ -1432,7 +1432,7 @@ uno::Any SAL_CALL ScStyleObj::getPropertyDefault( const rtl::OUString& aProperty // Default ist Default vom ItemPool, nicht vom Standard-Style, // damit es zu setPropertyToDefault passt SfxItemSet aEmptySet( *pStyleSet->GetPool(), pStyleSet->GetRanges() ); - // #65253# Default-Items mit falscher Slot-ID funktionieren im SfxItemPropertySet3 nicht + // Default-Items mit falscher Slot-ID funktionieren im SfxItemPropertySet3 nicht //! Slot-IDs aendern... if ( aEmptySet.GetPool()->GetSlotId(nWhich) == nWhich && aEmptySet.GetItemState(nWhich, sal_False) == SFX_ITEM_DEFAULT ) @@ -1581,7 +1581,7 @@ void SAL_CALL ScStyleObj::setAllPropertiesToDefault() throw (uno::RuntimeExcepti SfxStyleSheetBase* pStyle = GetStyle_Impl(); if ( pStyle ) { - // #70909# cell styles cannot be modified if any sheet is protected + // cell styles cannot be modified if any sheet is protected if ( eFamily == SFX_STYLE_FAMILY_PARA && lcl_AnyTabProtected( *pDocShell->GetDocument() ) ) throw uno::RuntimeException(); @@ -1689,7 +1689,7 @@ void ScStyleObj::SetOnePropertyValue( const ::rtl::OUString& rPropertyName, cons SfxStyleSheetBase* pStyle = GetStyle_Impl(); if ( pStyle && pEntry ) { - // #70909# cell styles cannot be modified if any sheet is protected + // cell styles cannot be modified if any sheet is protected if ( eFamily == SFX_STYLE_FAMILY_PARA && lcl_AnyTabProtected( *pDocShell->GetDocument() ) ) throw uno::RuntimeException(); @@ -1738,7 +1738,7 @@ void ScStyleObj::SetOnePropertyValue( const ::rtl::OUString& rPropertyName, cons { case ATTR_VALUE_FORMAT: { - // #67847# language for number formats + // language for number formats SvNumberFormatter* pFormatter = pDocShell->GetDocument()->GetFormatTable(); UINT32 nOldFormat = ((const SfxUInt32Item&) @@ -1889,7 +1889,7 @@ void ScStyleObj::SetOnePropertyValue( const ::rtl::OUString& rPropertyName, cons } break; default: - // #65253# Default-Items mit falscher Slot-ID + // Default-Items mit falscher Slot-ID // funktionieren im SfxItemPropertySet3 nicht //! Slot-IDs aendern... if ( rSet.GetPool()->GetSlotId(pEntry->nWID) == pEntry->nWID && @@ -1903,7 +1903,7 @@ void ScStyleObj::SetOnePropertyValue( const ::rtl::OUString& rPropertyName, cons else { rSet.ClearItem( pEntry->nWID ); - // #67847# language for number formats + // language for number formats if ( pEntry->nWID == ATTR_VALUE_FORMAT ) rSet.ClearItem( ATTR_LANGUAGE_FORMAT ); @@ -2054,7 +2054,7 @@ uno::Any SAL_CALL ScStyleObj::getPropertyValue( const rtl::OUString& aPropertyNa } break; default: - // #65253# Default-Items mit falscher Slot-ID + // Default-Items mit falscher Slot-ID // funktionieren im SfxItemPropertySet3 nicht //! Slot-IDs aendern... if ( pItemSet->GetPool()->GetSlotId(nWhich) == nWhich && diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx index 254cff9403d7..411da9b4d562 100644 --- a/sc/source/ui/unoobj/textuno.cxx +++ b/sc/source/ui/unoobj/textuno.cxx @@ -496,7 +496,7 @@ void SAL_CALL ScHeaderFooterTextObj::insertTextContent( aSelection.nEndPos = aSelection.nStartPos + 1; pHeaderField->InitDoc( &aTextData.GetContentObj(), aTextData.GetPart(), aSelection ); - // #91431# for bAbsorb=FALSE, the new selection must be behind the inserted content + // for bAbsorb=FALSE, the new selection must be behind the inserted content // (the xml filter relies on this) if (!bAbsorb) aSelection.nStartPos = aSelection.nEndPos; diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx index 308e33670978..53063bd0e4fc 100644 --- a/sc/source/ui/vba/vbaworkbook.cxx +++ b/sc/source/ui/vba/vbaworkbook.cxx @@ -239,7 +239,7 @@ ScVbaWorkbook::getActiveSheet() throw (uno::RuntimeException) uno::Reference< frame::XModel > xModel( getCurrentExcelDoc( mxContext ), uno::UNO_SET_THROW ); uno::Reference< sheet::XSpreadsheetView > xView( xModel->getCurrentController(), uno::UNO_QUERY_THROW ); uno::Reference< beans::XPropertySet > xSheetProps( xView->getActiveSheet(), uno::UNO_QUERY_THROW ); - // #162503# return the original document module wrapper object, instead of a new instance + // return the original document module wrapper object, instead of a new instance ::rtl::OUString aCodeName; xSheetProps->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( SC_UNO_CODENAME ) ) ) >>= aCodeName; ScDocShell* pShell = excel::getDocShell( xModel ); |