diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-04-07 23:53:53 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-04-07 23:58:32 +0900 |
commit | 8d11a1e522b83bdf1c9d0f952a5415359dee6851 (patch) | |
tree | 0c1a21b0372f885062faac81f8a225e75c0d47e0 /svx | |
parent | 93dc48ae47201cbcc9f30623bf1150f57d9353a6 (diff) |
keep them local
Change-Id: I5c76e2a423199a892ad541edded7127659fe310c
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdopath.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index 680239be5d4c..3f3288de38fa 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -1671,12 +1671,12 @@ SdrPathObj::~SdrPathObj() impDeleteDAC(); } -bool ImpIsLine(const basegfx::B2DPolyPolygon& rPolyPolygon) +static bool lcl_ImpIsLine(const basegfx::B2DPolyPolygon& rPolyPolygon) { return (1L == rPolyPolygon.count() && 2L == rPolyPolygon.getB2DPolygon(0L).count()); } -Rectangle ImpGetBoundRect(const basegfx::B2DPolyPolygon& rPolyPolygon) +static Rectangle lcl_ImpGetBoundRect(const basegfx::B2DPolyPolygon& rPolyPolygon) { basegfx::B2DRange aRange(basegfx::tools::getRange(rPolyPolygon)); @@ -1687,7 +1687,7 @@ Rectangle ImpGetBoundRect(const basegfx::B2DPolyPolygon& rPolyPolygon) void SdrPathObj::ImpForceLineWink() { - if(OBJ_LINE == meKind && ImpIsLine(GetPathPoly())) + if(OBJ_LINE == meKind && lcl_ImpIsLine(GetPathPoly())) { const basegfx::B2DPolygon aPoly(GetPathPoly().getB2DPolygon(0L)); const basegfx::B2DPoint aB2DPoint0(aPoly.getB2DPoint(0L)); @@ -1734,8 +1734,8 @@ void SdrPathObj::ImpForceKind() } } - if (meKind==OBJ_LINE && !ImpIsLine(GetPathPoly())) meKind=OBJ_PLIN; - if (meKind==OBJ_PLIN && ImpIsLine(GetPathPoly())) meKind=OBJ_LINE; + if (meKind==OBJ_LINE && !lcl_ImpIsLine(GetPathPoly())) meKind=OBJ_PLIN; + if (meKind==OBJ_PLIN && lcl_ImpIsLine(GetPathPoly())) meKind=OBJ_LINE; bClosedObj=IsClosed(); @@ -1768,7 +1768,7 @@ void SdrPathObj::ImpForceKind() // #i10659# for SdrTextObj, keep aRect up to date if(GetPathPoly().count()) { - aRect = ImpGetBoundRect(GetPathPoly()); + aRect = lcl_ImpGetBoundRect(GetPathPoly()); } } @@ -1868,7 +1868,7 @@ void SdrPathObj::TakeObjNameSingul(XubString& rName) const { sal_uInt16 nId(STR_ObjNameSingulLINE); - if(ImpIsLine(GetPathPoly())) + if(lcl_ImpIsLine(GetPathPoly())) { const basegfx::B2DPolygon aPoly(GetPathPoly().getB2DPolygon(0L)); const basegfx::B2DPoint aB2DPoint0(aPoly.getB2DPoint(0L)); @@ -2416,7 +2416,7 @@ void SdrPathObj::RecalcSnapRect() { if(GetPathPoly().count()) { - maSnapRect = ImpGetBoundRect(GetPathPoly()); + maSnapRect = lcl_ImpGetBoundRect(GetPathPoly()); } } @@ -2510,7 +2510,7 @@ void SdrPathObj::NbcSetPoint(const Point& rPnt, sal_uInt32 nHdlNum) if(GetPathPoly().count()) { // #i10659# for SdrTextObj, keep aRect up to date - aRect = ImpGetBoundRect(GetPathPoly()); + aRect = lcl_ImpGetBoundRect(GetPathPoly()); } } |