summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-06 12:31:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-06 12:31:15 +0200
commit81284624d8ec661139123015319d0683bfe07537 (patch)
tree667bb4f6184d74ac27391ea6f6be5c4e4a8ba2e0
parent3131621b7901056a3d6e43f4869bccaa21b17923 (diff)
Avoid reserved identifier
Change-Id: I87a6afeffaf7c87c6037a416783f1f22015b2fbf
-rw-r--r--editeng/source/misc/txtrange.cxx2
-rw-r--r--include/editeng/txtrange.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx
index b316098e64e6..cbf3e0c27807 100644
--- a/editeng/source/misc/txtrange.cxx
+++ b/editeng/source/misc/txtrange.cxx
@@ -656,7 +656,7 @@ LongDqPtr TextRanger::GetTextRanges( const Range& rRange )
return &(mRangeCache.back().results);
}
-const Rectangle& TextRanger::_GetBoundRect()
+const Rectangle& TextRanger::GetBoundRect_()
{
DBG_ASSERT( nullptr == pBound, "Don't call twice." );
pBound = new Rectangle( mpPolyPolygon->GetBoundRect() );
diff --git a/include/editeng/txtrange.hxx b/include/editeng/txtrange.hxx
index 09897e0904ee..43a4a4d17d5b 100644
--- a/include/editeng/txtrange.hxx
+++ b/include/editeng/txtrange.hxx
@@ -58,7 +58,7 @@ class EDITENG_DLLPUBLIC TextRanger
bool bVertical :1;// for vertical writing mode
TextRanger( const TextRanger& ) = delete;
- const Rectangle& _GetBoundRect();
+ const Rectangle& GetBoundRect_();
public:
TextRanger( const basegfx::B2DPolyPolygon& rPolyPolygon,
const basegfx::B2DPolyPolygon* pLinePolyPolygon,
@@ -76,7 +76,7 @@ public:
bool IsVertical() const { return bVertical; }
const tools::PolyPolygon& GetPolyPolygon() const { return *mpPolyPolygon; }
const Rectangle& GetBoundRect()
- { return pBound ? static_cast< const Rectangle& >(*pBound) : _GetBoundRect(); }
+ { return pBound ? static_cast< const Rectangle& >(*pBound) : GetBoundRect_(); }
void SetUpper( sal_uInt16 nNew ){ nUpper = nNew; }
void SetLower( sal_uInt16 nNew ){ nLower = nNew; }
void SetVertical( bool bNew );