diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-12-15 15:31:50 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-12-15 16:41:41 +0200 |
commit | 1cb87bf384820b3dc04b00422c7fc04f5d330ea2 (patch) | |
tree | 89cc756921e13bdd7048da83fe126edbffcc3d66 /vcl/opengl | |
parent | b71814f180bcefad6dcb3ff02c42b3cb31315bc5 (diff) |
Get rid of :: prefix for basegfx in include/vcl and vcl
We already used it without the :: prefix, in many cases in the same
files even. It is nice to have some consistency.
I was not bored enough to do it everywhere.
Change-Id: Ic8ac5bd9b4b2c02c41e5ea937a3d9477824f21cf
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 5054a6faa1f9..fe5c475258a4 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -950,27 +950,27 @@ void OpenGLSalGraphicsImpl::DrawRect( const Rectangle& rRect ) void OpenGLSalGraphicsImpl::DrawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) { - ::basegfx::B2DPolygon aPolygon; + basegfx::B2DPolygon aPolygon; for( sal_uInt32 i = 0; i < nPoints; i++ ) - aPolygon.append( ::basegfx::B2DPoint( pPtAry[i].mnX, pPtAry[i].mnY ) ); + aPolygon.append( basegfx::B2DPoint( pPtAry[i].mnX, pPtAry[i].mnY ) ); aPolygon.setClosed( true ); - if( ::basegfx::tools::isConvex( aPolygon ) ) + if( basegfx::tools::isConvex( aPolygon ) ) { if( nPoints > 2L ) DrawConvexPolygon( nPoints, pPtAry ); } else { - const ::basegfx::B2DPolyPolygon aPolyPolygon( aPolygon ); + const basegfx::B2DPolyPolygon aPolyPolygon( aPolygon ); DrawPolyPolygon( aPolyPolygon ); } } void OpenGLSalGraphicsImpl::DrawPolyPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, bool blockAA ) { - const ::basegfx::B2DPolyPolygon& aSimplePolyPolygon = ::basegfx::tools::solveCrossovers( rPolyPolygon ); + const basegfx::B2DPolyPolygon& aSimplePolyPolygon = ::basegfx::tools::solveCrossovers( rPolyPolygon ); basegfx::B2DTrapezoidVector aB2DTrapVector; basegfx::tools::trapezoidSubdivide( aB2DTrapVector, aSimplePolyPolygon ); // draw tesselation result @@ -1483,7 +1483,7 @@ void OpenGLSalGraphicsImpl::drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* PostDraw(); } -bool OpenGLSalGraphicsImpl::drawPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPolygon, double fTransparency ) +bool OpenGLSalGraphicsImpl::drawPolyPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, double fTransparency ) { VCL_GL_INFO( "::drawPolyPolygon trans " << fTransparency ); if( rPolyPolygon.count() <= 0 ) @@ -1508,9 +1508,9 @@ bool OpenGLSalGraphicsImpl::drawPolyPolygon( const ::basegfx::B2DPolyPolygon& rP } bool OpenGLSalGraphicsImpl::drawPolyLine( - const ::basegfx::B2DPolygon& rPolygon, + const basegfx::B2DPolygon& rPolygon, double fTransparency, - const ::basegfx::B2DVector& rLineWidth, + const basegfx::B2DVector& rLineWidth, basegfx::B2DLineJoin eLineJoin, css::drawing::LineCap eLineCap) { @@ -1568,7 +1568,7 @@ bool OpenGLSalGraphicsImpl::drawPolyLine( { for( sal_uInt32 i = 0; i < aAreaPolyPoly.count(); i++ ) { - const ::basegfx::B2DPolyPolygon aOnePoly( aAreaPolyPoly.getB2DPolygon( i ) ); + const basegfx::B2DPolyPolygon aOnePoly( aAreaPolyPoly.getB2DPolygon( i ) ); DrawPolyPolygon( aOnePoly ); } } |