summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.cxx2
-rw-r--r--editeng/source/items/svxfont.cxx2
-rw-r--r--editeng/source/misc/txtrange.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 3b651644fd45..209480c79105 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -402,7 +402,7 @@ void ImpEditView::ImplDrawHighlightRect( OutputDevice* _pTarget, const Point& rD
Rectangle aRect( aPnt1, aPnt2 );
if ( pPolyPoly )
{
- Polygon aTmpPoly( 4 );
+ tools::Polygon aTmpPoly( 4 );
aTmpPoly[0] = aRect.TopLeft();
aTmpPoly[1] = aRect.TopRight();
aTmpPoly[2] = aRect.BottomRight();
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx
index a2501865bcfa..1a040606494c 100644
--- a/editeng/source/items/svxfont.cxx
+++ b/editeng/source/items/svxfont.cxx
@@ -73,7 +73,7 @@ void SvxFont::DrawArrow( OutputDevice &rOut, const Rectangle& rRect,
nTop = rRect.Top();
nBottom = rRect.Bottom();
}
- Polygon aPoly;
+ tools::Polygon aPoly;
Point aTmp( bLeft ? nLeft : nRight, nMid );
Point aNxt( bLeft ? nRight : nLeft, nTop );
aPoly.Insert( 0, aTmp );
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx
index b78163908c2f..be6191ed7445 100644
--- a/editeng/source/misc/txtrange.cxx
+++ b/editeng/source/misc/txtrange.cxx
@@ -50,7 +50,7 @@ TextRanger::TextRanger( const basegfx::B2DPolyPolygon& rPolyPolygon,
{
const basegfx::B2DPolygon aCandidate(rPolyPolygon.getB2DPolygon(i).getDefaultAdaptiveSubdivision());
nPointCount += aCandidate.count();
- mpPolyPolygon->Insert( Polygon(aCandidate), (sal_uInt16)i );
+ mpPolyPolygon->Insert( tools::Polygon(aCandidate), (sal_uInt16)i );
}
if( pLinePolyPolygon )
@@ -62,7 +62,7 @@ TextRanger::TextRanger( const basegfx::B2DPolyPolygon& rPolyPolygon,
{
const basegfx::B2DPolygon aCandidate(pLinePolyPolygon->getB2DPolygon(i).getDefaultAdaptiveSubdivision());
nPointCount += aCandidate.count();
- mpLinePolyPolygon->Insert( Polygon(aCandidate), (sal_uInt16)i );
+ mpLinePolyPolygon->Insert( tools::Polygon(aCandidate), (sal_uInt16)i );
}
}
else
@@ -306,7 +306,7 @@ void SvxBoundArgs::Calc( const tools::PolyPolygon& rPoly )
nAct = 0;
for( sal_uInt16 i = 0; i < rPoly.Count(); ++i )
{
- const Polygon& rPol = rPoly[ i ];
+ const tools::Polygon& rPol = rPoly[ i ];
nCount = rPol.GetSize();
if( nCount )
{