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 /editeng | |
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 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 1 | ||||
-rw-r--r-- | editeng/source/items/svxfont.cxx | 6 | ||||
-rw-r--r-- | editeng/source/uno/unoedprx.cxx | 2 | ||||
-rw-r--r-- | editeng/source/uno/unofored.cxx | 2 |
4 files changed, 0 insertions, 11 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 4df265a9bb6c..3ead023e0311 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -2945,7 +2945,6 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRect, Point aSt sal_Int32 nLines = pPortion->GetLines().Count(); sal_Int32 nLastLine = nLines-1; - // #108052# bool bEndOfParagraphWritten(false); if ( !IsVertical() ) diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index c48cac264bcb..c17591b8cc25 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -205,7 +205,6 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo) const sal_Int32 nPos = 0; sal_Int32 nOldPos = nPos; - // #108210# // Test if string length differ between original and CaseMapped bool bCaseMapLengthDiffers(aTxt.getLength() != rTxt.getLength()); @@ -238,7 +237,6 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo) const { if(bCaseMapLengthDiffers) { - // #108210# // If strings differ work preparing the necessary snippet to address that // potential difference const OUString aSnippet = rTxt.copy(nIdx + nOldPos, nPos-nOldPos); @@ -268,7 +266,6 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo) const { if(bCaseMapLengthDiffers) { - // #108210# // If strings differ work preparing the necessary snippet to address that // potential difference const OUString aSnippet = rTxt.copy(nIdx + nOldPos, nPos - nOldPos); @@ -293,7 +290,6 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo) const if(bCaseMapLengthDiffers) { - // #108210# // If strings differ work preparing the necessary snippet to address that // potential difference const OUString aSnippet = rTxt.copy(nIdx + nOldPos, nPos - nOldPos); @@ -355,7 +351,6 @@ Size SvxFont::GetPhysTxtSize( const OutputDevice *pOut, const OUString &rTxt, aTxtSize.setWidth( pOut->GetTextWidth( rTxt, nIdx, nLen ) ); else { - // #108210# const OUString aNewText = CalcCaseMap(rTxt); bool bCaseMapLengthDiffers(aNewText.getLength() != rTxt.getLength()); sal_Int32 nWidth(0L); @@ -539,7 +534,6 @@ void SvxFont::DrawPrev( OutputDevice *pOut, Printer* pPrinter, pOut->DrawStretchText( aPos, aSize.Width(), rTxt, nIdx, nTmp ); else { - // #108210# const OUString aNewText = CalcCaseMap(rTxt); bool bCaseMapLengthDiffers(aNewText.getLength() != rTxt.getLength()); diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx index 9de8512a70a5..bfee8c9e50ae 100644 --- a/editeng/source/uno/unoedprx.cxx +++ b/editeng/source/uno/unoedprx.cxx @@ -215,7 +215,6 @@ void SvxAccessibleTextIndex::SetEEIndex( sal_uInt16 nEEIndex, const SvxTextForwa break; } - // #106010# mnIndex += ::std::max(aFieldInfo.aCurrentText.getLength()-1, (sal_Int32)0); } } @@ -269,7 +268,6 @@ void SvxAccessibleTextIndex::SetIndex( sal_Int32 nIndex, const SvxTextForwarder& if( aFieldInfo.aPosition.nIndex > mnEEIndex ) break; - // #106010# mnEEIndex -= ::std::max(aFieldInfo.aCurrentText.getLength()-1, (sal_Int32)0); // we're within a field diff --git a/editeng/source/uno/unofored.cxx b/editeng/source/uno/unofored.cxx index 0d90aa959ebd..5749777e89f6 100644 --- a/editeng/source/uno/unofored.cxx +++ b/editeng/source/uno/unofored.cxx @@ -291,7 +291,6 @@ EBulletInfo SvxEditEngineForwarder::GetBulletInfo( sal_Int32 ) const Rectangle SvxEditEngineForwarder::GetCharBounds( sal_Int32 nPara, sal_Int32 nIndex ) const { - // #101701# // EditEngine's 'internal' methods like GetCharacterBounds() // don't rotate for vertical text. Size aSize( rEditEngine.CalcTextWidth(), rEditEngine.GetTextHeight() ); @@ -346,7 +345,6 @@ Rectangle SvxEditEngineForwarder::GetParaBounds( sal_Int32 nPara ) const if( rEditEngine.IsVertical() ) { - // #101701# // Hargl. EditEngine's 'external' methods return the rotated // dimensions, 'internal' methods like GetTextHeight( n ) // don't rotate. |