summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-07 16:43:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-07 16:43:41 +0200
commitc90588635e8ca2e33e25e9740fccdd59ad01f86a (patch)
tree394e11a5d6e7b602ccc2918300413e698bbe9d5a /filter
parent833d9c7b7368512d9671bc72e0221a7c637f2090 (diff)
Fix namespace ambiguity
Change-Id: Ie32085d67157a48cef2713eec5495d01b7d5867c
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/ipict/shape.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/graphicfilter/ipict/shape.cxx b/filter/source/graphicfilter/ipict/shape.cxx
index c9da3435d50d..2cfefbe29b76 100644
--- a/filter/source/graphicfilter/ipict/shape.cxx
+++ b/filter/source/graphicfilter/ipict/shape.cxx
@@ -151,7 +151,7 @@ namespace PictReaderShape {
long const X[2] = { oval.Left(), oval.Right() };
long const Y[2] = { oval.Top(), oval.Bottom() };
B2DPoint center(0.5*(X[1]+X[0]), 0.5*(Y[1]+Y[0]));
- B2DPolygon poly = tools::createPolygonFromEllipse(center, 0.5*(X[1]-X[0]), 0.5*(Y[1]-Y[0]));
+ B2DPolygon poly = basegfx::tools::createPolygonFromEllipse(center, 0.5*(X[1]-X[0]), 0.5*(Y[1]-Y[0]));
if (drawFrame)
dev->DrawPolyLine(poly, double(penSize), basegfx::B2DLINEJOIN_NONE);
else
@@ -184,7 +184,7 @@ namespace PictReaderShape {
while (angl2 < 0.0) angl2 += F_2PI;
while (angl2 >= F_2PI) angl2 -= F_2PI;
- B2DPolygon poly = tools::createPolygonFromEllipseSegment(center, 0.5*(X[1]-X[0]), 0.5*(Y[1]-Y[0]), angl1, angl2);
+ B2DPolygon poly = basegfx::tools::createPolygonFromEllipseSegment(center, 0.5*(X[1]-X[0]), 0.5*(Y[1]-Y[0]), angl1, angl2);
if (drawFrame)
dev->DrawPolyLine(poly, double(penSize), basegfx::B2DLINEJOIN_NONE);
else {
@@ -207,7 +207,7 @@ namespace PictReaderShape {
if (ovalH > height) ovalH = static_cast< int >( height );
B2DRectangle rect(B2DPoint(X[0],Y[0]), B2DPoint(X[1],Y[1]));
- B2DPolygon poly = tools::createPolygonFromRect(rect, (width != 0.0) ? ovalW/width : 0.0, (height != 0.0) ? ovalH/height : 0.0);
+ B2DPolygon poly = basegfx::tools::createPolygonFromRect(rect, (width != 0.0) ? ovalW/width : 0.0, (height != 0.0) ? ovalH/height : 0.0);
if (drawFrame)
dev->DrawPolyLine(poly, double(penSize), basegfx::B2DLINEJOIN_NONE);