summaryrefslogtreecommitdiff
path: root/basegfx/test/boxclipper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/test/boxclipper.cxx')
-rw-r--r--basegfx/test/boxclipper.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/basegfx/test/boxclipper.cxx b/basegfx/test/boxclipper.cxx
index 696e86c622e9..c7ff41101b42 100644
--- a/basegfx/test/boxclipper.cxx
+++ b/basegfx/test/boxclipper.cxx
@@ -352,9 +352,8 @@ public:
const sal_uInt32 nCount=rRange.count();
for( sal_uInt32 i=0; i<nCount; ++i )
{
- B2DPolygon aRect=tools::createPolygonFromRect(
- rRange.getElement(i).head);
- if( rRange.getElement(i).tail.head == ORIENTATION_NEGATIVE )
+ B2DPolygon aRect=tools::createPolygonFromRect(std::get<0>(rRange.getElement(i)));
+ if( std::get<1>(rRange.getElement(i)) == ORIENTATION_NEGATIVE )
aRect.flip();
genericClip.append(aRect);