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 /vcl | |
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 'vcl')
-rw-r--r-- | vcl/generic/glyphs/gcach_ftyp.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/ilstbox.cxx | 6 | ||||
-rw-r--r-- | vcl/source/filter/graphicfilter.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/wmf/enhwmf.cxx | 4 | ||||
-rw-r--r-- | vcl/source/outdev/text.cxx | 1 |
5 files changed, 7 insertions, 8 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx index 080bb8284bf3..95739db86333 100644 --- a/vcl/generic/glyphs/gcach_ftyp.cxx +++ b/vcl/generic/glyphs/gcach_ftyp.cxx @@ -572,7 +572,7 @@ void ServerFont::SetFontOptions(std::shared_ptr<ImplFontOptions> xFontOptions) if( (mnSin != 0) && (mnCos != 0) ) // hinting for 0/90/180/270 degrees only mnLoadFlags |= FT_LOAD_NO_HINTING; - mnLoadFlags |= FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH; //#88334# + mnLoadFlags |= FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH; if (mxFontOptions->DontUseAntiAlias()) mnPrioAntiAlias = 0; diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx index 1fdf3879a6e6..56d64cb1e3e9 100644 --- a/vcl/source/control/ilstbox.cxx +++ b/vcl/source/control/ilstbox.cxx @@ -891,7 +891,7 @@ void ImplListBoxWindow::MouseMove( const MouseEvent& rMEvt ) DeselectAll(); mnCurrentPos = LISTBOX_ENTRY_NOTFOUND; SetTopEntry( 0 ); - if ( mbStackMode ) // #87072#, #92323# + if ( mbStackMode ) { mbTravelSelect = true; mnSelectModifier = rMEvt.GetModifier(); @@ -923,7 +923,7 @@ void ImplListBoxWindow::MouseMove( const MouseEvent& rMEvt ) mbTrackingSelect = true; if ( SelectEntries( nSelect, LET_TRACKING, false, false ) ) { - if ( mbStackMode ) // #87072# + if ( mbStackMode ) { mbTravelSelect = true; mnSelectModifier = rMEvt.GetModifier(); @@ -1266,7 +1266,7 @@ void ImplListBoxWindow::Tracking( const TrackingEvent& rTEvt ) mbTrackingSelect = true; if ( SelectEntries( nSelect, LET_TRACKING, bShift, bCtrl ) ) { - if ( mbStackMode ) // #87734# (#87072#) + if ( mbStackMode ) { mbTravelSelect = true; mnSelectModifier = rTEvt.GetMouseEvent().GetModifier(); diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index 49f3b65eeaae..f9b86cd211f5 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -884,7 +884,7 @@ static Graphic ImpGetScaledGraphic( const Graphic& rGraphic, FilterConfigItem& r else aGraphic = rGraphic; - sal_Int32 nColors = rConfigItem.ReadInt32( "Color", 0 ); // #92767# + sal_Int32 nColors = rConfigItem.ReadInt32( "Color", 0 ); if ( nColors ) // graphic conversion necessary ? { BitmapEx aBmpEx( aGraphic.GetBitmapEx() ); diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx index 24629d5f9b0e..47679f6dc39a 100644 --- a/vcl/source/filter/wmf/enhwmf.cxx +++ b/vcl/source/filter/wmf/enhwmf.cxx @@ -722,7 +722,7 @@ bool EnhWMFReader::ReadEnhWMF() break; case EMR_SETWINDOWEXTEX : - { // #75383# + { pWMF->ReadUInt32( nW ).ReadUInt32( nH ); pOut->SetWinExt( Size( nW, nH ), true); } @@ -764,7 +764,7 @@ bool EnhWMFReader::ReadEnhWMF() break; case EMR_EOF : - nRecordCount = 0; // #76846# + nRecordCount = 0; break; case EMR_SETPIXELV : diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index f0a248ddae31..c81e6f305892 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -2207,7 +2207,6 @@ void OutputDevice::DrawCtrlText( const Point& rPos, const OUString& rStr, if( nMnemonicPos >= nLen ) { - // #106952# // may occur in BiDi-Strings: the '~' is sometimes found behind the last char // due to some strange BiDi text editors // -> place the underline behind the string to indicate a failure |