diff options
author | Zsolt Bölöny <bolony.zsolt@gmail.com> | 2015-05-19 17:36:54 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-02 13:20:02 +0000 |
commit | d0f6f00c1af07e744b4302ed9f33ca6c025a1434 (patch) | |
tree | 9e920b857f534818f6dcf138573ac97e2bd80333 /basegfx/test/boxclipper.cxx | |
parent | d6e7dcb34322de4701c1cac4e87dc3b681c1dac4 (diff) |
Replaced boost::tuple with std::tuple
Change-Id: Ia001c8e1e00df85d2be93e330811a1081179785d
Reviewed-on: https://gerrit.libreoffice.org/15816
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basegfx/test/boxclipper.cxx')
-rw-r--r-- | basegfx/test/boxclipper.cxx | 5 |
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); |