diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-30 11:06:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-01 06:57:19 +0000 |
commit | e209d115d41e25f5658dd52ae94ceb873b33013f (patch) | |
tree | 58b49bdcc833ec48bc8542f81b7918f50e07bb6d /svx | |
parent | 8e27c68847c6461c7bc0bdbff44412d6bfb0b1e8 (diff) |
remove old standalone Sun bug numbers
Sun bug numbers without any accompanying text are completely useless.
Fixed with
git grep -lP '//\s*#\d+#\s*$'
| xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print'
And then hand-checking the result to restore places where it deleted code.
And then some more grepping and hand-editing to kill the others.
Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29
Reviewed-on: https://gerrit.libreoffice.org/19023
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
23 files changed, 1 insertions, 39 deletions
diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx index d61257ccd41e..1a170b5f7817 100644 --- a/svx/source/accessibility/AccessibleTextHelper.cxx +++ b/svx/source/accessibility/AccessibleTextHelper.cxx @@ -1395,7 +1395,6 @@ namespace accessibility if( maEventOpenFrames == 0 ) { - // #103483# /* All information should have arrived * now, process queue. As stated in the * above bug, we can often avoid throwing diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx index 2534b94867e7..df2a0be719df 100644 --- a/svx/source/customshapes/EnhancedCustomShape3d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx @@ -354,7 +354,6 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con else if ( ( eFillStyle == drawing::FillStyle_BITMAP ) || ( eFillStyle == drawing::FillStyle_GRADIENT ) || bUseExtrusionColor ) bUseTwoFillStyles = true; - // #116336# // If shapes are mirrored once (mirroring two times correct geometry again) // double-sided at the object and two-sided-lighting at the scene need to be set. diff --git a/svx/source/dialog/connctrl.cxx b/svx/source/dialog/connctrl.cxx index 1775f97ca6ba..e0d8145b34a0 100644 --- a/svx/source/dialog/connctrl.cxx +++ b/svx/source/dialog/connctrl.cxx @@ -211,7 +211,6 @@ void SvxXConnectionPreview::Paint(vcl::RenderContext& rRenderContext, const Rect { if (pObjList) { - // #110094# // This will not work anymore. To not start at Adam and Eve, i will // ATM not try to change all this stuff to really using an own model // and a view. I will just try to provide a mechanism to paint such diff --git a/svx/source/engine3d/svx3ditems.cxx b/svx/source/engine3d/svx3ditems.cxx index 26ea71f7e73d..6345748396a2 100644 --- a/svx/source/engine3d/svx3ditems.cxx +++ b/svx/source/engine3d/svx3ditems.cxx @@ -89,7 +89,6 @@ Svx3DShadeModeItem::Svx3DShadeModeItem(sal_uInt16 nVal) {} -// #107245# Svx3DSmoothNormalsItem::Svx3DSmoothNormalsItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_SMOOTH_NORMALS, bVal) @@ -118,7 +117,6 @@ SfxPoolItem * Svx3DSmoothNormalsItem::Clone(SfxItemPool *) const return new Svx3DSmoothNormalsItem(*this); } -// #107245# Svx3DSmoothLidsItem::Svx3DSmoothLidsItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_SMOOTH_LIDS, bVal) @@ -147,7 +145,6 @@ SfxPoolItem * Svx3DSmoothLidsItem::Clone(SfxItemPool *) const return new Svx3DSmoothLidsItem(*this); } -// #107245# Svx3DCharacterModeItem::Svx3DCharacterModeItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_CHARACTER_MODE, bVal) @@ -176,7 +173,6 @@ SfxPoolItem * Svx3DCharacterModeItem::Clone(SfxItemPool *) const return new Svx3DCharacterModeItem(*this); } -// #107245# Svx3DCloseFrontItem::Svx3DCloseFrontItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_CLOSE_FRONT, bVal) @@ -205,7 +201,6 @@ SfxPoolItem * Svx3DCloseFrontItem::Clone(SfxItemPool *) const return new Svx3DCloseFrontItem(*this); } -// #107245# Svx3DCloseBackItem::Svx3DCloseBackItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_CLOSE_BACK, bVal) diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 1ace5f84963b..223081356ac2 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -1135,7 +1135,6 @@ void FmGridControl::DeleteSelectedRows() { ::com::sun::star::util::URL aUrl; aUrl.Complete = FMURL_CONFIRM_DELETION; - // #100312# ------------ Reference< ::com::sun::star::util::XURLTransformer > xTransformer( ::com::sun::star::util::URLTransformer::create(::comphelper::getProcessComponentContext()) ); xTransformer->parseStrict( aUrl ); diff --git a/svx/source/form/fmPropBrw.cxx b/svx/source/form/fmPropBrw.cxx index 7085bc6c3788..8f2c2a0e5628 100644 --- a/svx/source/form/fmPropBrw.cxx +++ b/svx/source/form/fmPropBrw.cxx @@ -444,7 +444,6 @@ void FmPropBrw::implSetNewSelection( const InterfaceBag& _rSelection ) SetText( sTitle ); - // #95343# --------------------------------- Reference< ::com::sun::star::awt::XLayoutConstrains > xLayoutConstrains( m_xBrowserController, UNO_QUERY ); if( xLayoutConstrains.is() ) { diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index 82d858640ef2..88b1850fcf76 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -1743,7 +1743,6 @@ namespace svxform ++it; // In case there is no shape for the current entry, we keep the entry in m_arrCurrentSelection, // since then we can definitely remove it. - // #103597# } else ++it; diff --git a/svx/source/inc/xmlxtexp.hxx b/svx/source/inc/xmlxtexp.hxx index e3a80d4e32b9..f29ed6f24439 100644 --- a/svx/source/inc/xmlxtexp.hxx +++ b/svx/source/inc/xmlxtexp.hxx @@ -34,7 +34,6 @@ namespace com { namespace sun { namespace star { class SvxXMLXTableExportComponent : public SvXMLExport { public: - // #110680# SvxXMLXTableExportComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, const OUString& rFileName, diff --git a/svx/source/inc/xmlxtimp.hxx b/svx/source/inc/xmlxtimp.hxx index f3a6f32e0b88..1dc87c63c3a7 100644 --- a/svx/source/inc/xmlxtimp.hxx +++ b/svx/source/inc/xmlxtimp.hxx @@ -33,7 +33,6 @@ namespace com { namespace sun { namespace star { class SvxXMLXTableImport : public SvXMLImport { public: - // #110680# SvxXMLXTableImport( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > & rTable, diff --git a/svx/source/sdr/overlay/overlayobjectcell.cxx b/svx/source/sdr/overlay/overlayobjectcell.cxx index 73ae66b43f40..cfd772a57595 100644 --- a/svx/source/sdr/overlay/overlayobjectcell.cxx +++ b/svx/source/sdr/overlay/overlayobjectcell.cxx @@ -30,7 +30,6 @@ using namespace ::basegfx; -// #114409# namespace sdr { namespace overlay diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx index 325558b9fd0b..0fbcd16ed873 100644 --- a/svx/source/sdr/properties/attributeproperties.cxx +++ b/svx/source/sdr/properties/attributeproperties.cxx @@ -40,7 +40,6 @@ #include <svx/svdtrans.hxx> #include <svx/svdpage.hxx> -// #114265# #include <svl/smplhint.hxx> @@ -549,7 +548,6 @@ namespace sdr SfxStyleSheet* pNewStSh = 0L; SdrModel* pModel = rObj.GetModel(); - // #111111# // Do nothing if object is in destruction, else a StyleSheet may be found from // a StyleSheetPool which is just being deleted itself. and thus it would be fatal // to register as listener to that new StyleSheet. diff --git a/svx/source/sdr/properties/emptyproperties.cxx b/svx/source/sdr/properties/emptyproperties.cxx index c3067da99641..f0567e8b9f97 100644 --- a/svx/source/sdr/properties/emptyproperties.cxx +++ b/svx/source/sdr/properties/emptyproperties.cxx @@ -48,7 +48,6 @@ namespace sdr : BaseProperties(rProps, rObj), mpEmptyItemSet(0L) { - // #115593# // do not gererate an assert, else derivations like PageProperties will generate an assert // using the Clone() operator path. } diff --git a/svx/source/sdr/properties/groupproperties.cxx b/svx/source/sdr/properties/groupproperties.cxx index 3e8f6155caeb..c4e9d91a17b8 100644 --- a/svx/source/sdr/properties/groupproperties.cxx +++ b/svx/source/sdr/properties/groupproperties.cxx @@ -259,7 +259,6 @@ namespace sdr // also clear local ItemSet, it's only temporary for group objects anyways. if(mpItemSet) { - // #121905# // copy/paste is still using clone operators and MoveToItemPool functionality. // Since SfxItemSet contains a pool pointer, ClearItem is not enough here. // The ItemSet for merge is constructed on demand, so it's enough here to diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 92249181c963..b6a764c3b28e 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -332,7 +332,7 @@ void SdrObjEditView::ImpPaintOutlinerView(OutlinerView& rOutlView, const Rectang const SdrTextObj* pText = PTR_CAST(SdrTextObj,GetTextEditObject()); bool bTextFrame(pText && pText->IsTextFrame()); bool bFitToSize(pTextEditOutliner->GetControlWord() & EEControlBits::STRETCHING); - bool bModifyMerk(pTextEditOutliner->IsModified()); // #43095# + bool bModifyMerk(pTextEditOutliner->IsModified()); Rectangle aBlankRect(rOutlView.GetOutputArea()); aBlankRect.Union(aMinTextEditArea); Rectangle aPixRect(rTargetDevice.LogicToPixel(aBlankRect)); @@ -350,7 +350,6 @@ void SdrObjEditView::ImpPaintOutlinerView(OutlinerView& rOutlView, const Rectang if(!bModifyMerk) { - // #43095# pTextEditOutliner->ClearModifyFlag(); } @@ -782,7 +781,6 @@ bool SdrObjEditView::SdrBeginTextEdit( maHdlList.SetMoveOutside(true); - // #i72757# // Since IsMarkHdlWhenTextEdit() is ignored, it is necessary // to call AdjustMarkHdl() always. AdjustMarkHdl(); @@ -1096,7 +1094,6 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(bool bDontDeleteReally) pTEObj->SetTextAnimationAllowed(true); } - // #i72757# // Since IsMarkHdlWhenTextEdit() is ignored, it is necessary // to call AdjustMarkHdl() always. AdjustMarkHdl(); @@ -1672,7 +1669,6 @@ bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, bool bReplaceAll) BegUndo(aStr); AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*mxTextEditObj.get())); - // #i43537# // If this is a text object also rescue the OutlinerParaObject since // applying attributes to the object may change text layout when // multiple portions exist with multiple formats. If a OutlinerParaObject diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index fd6225a64b0b..38de48867f00 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -41,7 +41,6 @@ #include <svx/dialmgr.hxx> #include <svx/xflftrit.hxx> -// #105678# #include <svx/svdopath.hxx> #include <basegfx/vector/b2dvector.hxx> #include <basegfx/polygon/b2dpolygon.hxx> diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index b12a68dfac5f..72b86ac2f629 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -1492,7 +1492,6 @@ void SdrObjCustomShape::NbcSetSnapRect( const Rectangle& rRect ) ImpJustifyRect(maRect); InvalidateRenderGeometry(); - // #115391# AdaptTextMinSize(); ImpCheckShear(); @@ -1516,7 +1515,6 @@ void SdrObjCustomShape::NbcSetLogicRect( const Rectangle& rRect ) ImpJustifyRect(maRect); InvalidateRenderGeometry(); - // #115391# AdaptTextMinSize(); SetRectsDirty(); @@ -2223,7 +2221,6 @@ bool SdrObjCustomShape::EndCreate( SdrDragStat& rStat, SdrCreateCmd eCmd ) { DragCreateObject( rStat ); - // #115391# AdaptTextMinSize(); SetRectsDirty(); diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index f9d2811c3ac2..1e0e217363ed 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -1668,7 +1668,6 @@ SdrOle2Obj& SdrOle2Obj::assignFrom( //TODO/LATER: who takes over control of my old object?! if( &rObj != this ) { - // #116235# // ImpAssign( rObj ); const SdrOle2Obj& rOle2Obj = static_cast< const SdrOle2Obj& >( rObj ); diff --git a/svx/source/svdraw/svdotxdr.cxx b/svx/source/svdraw/svdotxdr.cxx index 36de7ba1de9c..4fce336ca46a 100644 --- a/svx/source/svdraw/svdotxdr.cxx +++ b/svx/source/svdraw/svdotxdr.cxx @@ -211,7 +211,6 @@ bool SdrTextObj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) rStat.TakeCreateRect(maRect); ImpJustifyRect(maRect); - // #115391# AdaptTextMinSize(); SetRectsDirty(); diff --git a/svx/source/svdraw/svdotxtr.cxx b/svx/source/svdraw/svdotxtr.cxx index 0d5b0e1e5221..df967bb5ff4d 100644 --- a/svx/source/svdraw/svdotxtr.cxx +++ b/svx/source/svdraw/svdotxtr.cxx @@ -60,7 +60,6 @@ void SdrTextObj::NbcSetSnapRect(const Rectangle& rRect) maRect = rRect; ImpJustifyRect(maRect); - // #115391# AdaptTextMinSize(); ImpCheckShear(); @@ -78,7 +77,6 @@ void SdrTextObj::NbcSetLogicRect(const Rectangle& rRect) maRect = rRect; ImpJustifyRect(maRect); - // #115391# AdaptTextMinSize(); SetRectsDirty(); @@ -175,7 +173,6 @@ void SdrTextObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fract ImpJustifyRect(maRect); - // #115391# AdaptTextMinSize(); if(bTextFrame && (!pModel || !pModel->IsPasteResize())) diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index 6b6ac206d117..8d2d3430ad03 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -125,7 +125,6 @@ bool SvxUnoDrawMSFactory::createEvent( const SdrModel* pDoc, const SdrHint* pSdr // case HINT_LAYERSETCHG: // layer set changed // case HINT_LAYERSETORDERCHG: // layer set order changed (Insert/Remove/ChangePos) -// #115423# // case HINT_PAGECHG: // page changed // aEvent.EventName = "PageModified"; // pPage = pSdrHint->GetPage(); diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index 6e99378b6a0b..8e265579c7bc 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -525,7 +525,6 @@ void SvxTextEditSourceImpl::dispose() void SvxTextEditSourceImpl::SetupOutliner() { - // #101029# // only for UAA edit source: setup outliner equivalently as in // SdrTextObj::Paint(), such that formatting equals screen // layout @@ -548,7 +547,6 @@ void SvxTextEditSourceImpl::SetupOutliner() void SvxTextEditSourceImpl::UpdateOutliner() { - // #104157# // only for UAA edit source: update outliner equivalently as in // SdrTextObj::Paint(), such that formatting equals screen // layout @@ -970,7 +968,6 @@ Point SvxTextEditSourceImpl::LogicToPixel( const Point& rPoint, const MapMode& r } else if( IsValid() && mpModel ) { - // #101029# Point aPoint1( rPoint ); aPoint1.X() += maTextOffset.X(); aPoint1.Y() += maTextOffset.Y(); @@ -1008,7 +1005,6 @@ Point SvxTextEditSourceImpl::PixelToLogic( const Point& rPoint, const MapMode& r Point aPoint2( OutputDevice::LogicToLogic( aPoint1, MapMode(mpModel->GetScaleUnit()), rMapMode ) ); - // #101029# aPoint2.X() -= maTextOffset.X(); aPoint2.Y() -= maTextOffset.Y(); diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx index e68c61b0cd43..9bf1feaa8d1f 100644 --- a/svx/source/xml/xmlxtexp.cxx +++ b/svx/source/xml/xmlxtexp.cxx @@ -143,7 +143,6 @@ private: -// #110680# SvxXMLXTableExportComponent::SvxXMLXTableExportComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext, const OUString& rFileName, diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx index 3bdc6ac24ed5..98864bd3dfe0 100644 --- a/svx/source/xml/xmlxtimp.cxx +++ b/svx/source/xml/xmlxtimp.cxx @@ -323,7 +323,6 @@ void SvxXMLTableImportContext::importBitmap( sal_uInt16 nPrfx, const OUString& r -// #110680# SvxXMLXTableImport::SvxXMLXTableImport( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext, const uno::Reference< XNameContainer > & rTable, |