summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-06 13:06:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-06 13:06:38 +0200
commitfb411e93aead3458d7a3e1f262311330f69a157e (patch)
tree2f5ae5a42d51ed7ebf451178a96739d25c316364
parent308eee791f084fe925a993cbda401db3e1211c22 (diff)
Avoid reserved identifier
Change-Id: Ia2af17bbf08cebc9e3c8f772583a61bde194328f
-rw-r--r--editeng/source/misc/txtrange.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx
index cbf3e0c27807..e5b798c16315 100644
--- a/editeng/source/misc/txtrange.cxx
+++ b/editeng/source/misc/txtrange.cxx
@@ -121,9 +121,9 @@ class SvxBoundArgs
void NoteRange( bool bToggle );
long Cut( long nY, const Point& rPt1, const Point& rPt2 );
void Add();
- void _NoteFarPoint( long nPx, long nPyDiff, long nDiff );
+ void NoteFarPoint_( long nPx, long nPyDiff, long nDiff );
void NoteFarPoint( long nPx, long nPyDiff, long nDiff )
- { if( nDiff ) _NoteFarPoint( nPx, nPyDiff, nDiff ); }
+ { if( nDiff ) NoteFarPoint_( nPx, nPyDiff, nDiff ); }
long CalcMax( const Point& rPt1, const Point& rPt2, long nRange, long nFar );
void CheckCut( const Point& rLst, const Point& rNxt );
inline long A( const Point& rP ) const { return bRotate ? rP.Y() : rP.X(); }
@@ -222,18 +222,18 @@ void SvxBoundArgs::CheckCut( const Point& rLst, const Point& rNxt )
{
nYps = CalcMax( rLst, rNxt, nBottom, nLower );
if( nYps )
- _NoteFarPoint( Cut( nYps, rLst, rNxt ), nLower-nYps, nLowDiff );
+ NoteFarPoint_( Cut( nYps, rLst, rNxt ), nLower-nYps, nLowDiff );
}
if( nUpDiff && ( ( nCut & 2 ) || nLast == 2 || nNext == 2 ) )
{
nYps = CalcMax( rLst, rNxt, nTop, nUpper );
if( nYps )
- _NoteFarPoint( Cut( nYps, rLst, rNxt ), nYps-nUpper, nUpDiff );
+ NoteFarPoint_( Cut( nYps, rLst, rNxt ), nYps-nUpper, nUpDiff );
}
}
}
-void SvxBoundArgs::_NoteFarPoint( long nPa, long nPbDiff, long nDiff )
+void SvxBoundArgs::NoteFarPoint_( long nPa, long nPbDiff, long nDiff )
{
long nTmpA;
double nQuot = 2 * nDiff - nPbDiff;