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/source/helper | |
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/source/helper')
-rw-r--r-- | vcl/source/helper/canvastools.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/vcl/source/helper/canvastools.cxx b/vcl/source/helper/canvastools.cxx index 19f8a754458a..3b76ab42a617 100644 --- a/vcl/source/helper/canvastools.cxx +++ b/vcl/source/helper/canvastools.cxx @@ -337,19 +337,19 @@ namespace vcl static_cast<long>(rSize.Height + .5) ); } - ::Size sizeFromB2DSize( const ::basegfx::B2DVector& rVec ) + ::Size sizeFromB2DSize( const basegfx::B2DVector& rVec ) { return ::Size( FRound( rVec.getX() ), FRound( rVec.getY() ) ); } - ::Point pointFromB2DPoint( const ::basegfx::B2DPoint& rPoint ) + ::Point pointFromB2DPoint( const basegfx::B2DPoint& rPoint ) { return ::Point( FRound( rPoint.getX() ), FRound( rPoint.getY() ) ); } - ::Rectangle rectangleFromB2DRectangle( const ::basegfx::B2DRange& rRect ) + ::Rectangle rectangleFromB2DRectangle( const basegfx::B2DRange& rRect ) { return ::Rectangle( FRound( rRect.getMinX() ), FRound( rRect.getMinY() ), @@ -357,13 +357,13 @@ namespace vcl FRound( rRect.getMaxY() ) ); } - Point pointFromB2IPoint( const ::basegfx::B2IPoint& rPoint ) + Point pointFromB2IPoint( const basegfx::B2IPoint& rPoint ) { return ::Point( rPoint.getX(), rPoint.getY() ); } - Rectangle rectangleFromB2IRectangle( const ::basegfx::B2IRange& rRect ) + Rectangle rectangleFromB2IRectangle( const basegfx::B2IRange& rRect ) { return ::Rectangle( rRect.getMinX(), rRect.getMinY(), @@ -371,21 +371,21 @@ namespace vcl rRect.getMaxY() ); } - ::basegfx::B2DVector b2DSizeFromSize( const ::Size& rSize ) + basegfx::B2DVector b2DSizeFromSize( const ::Size& rSize ) { - return ::basegfx::B2DVector( rSize.Width(), + return basegfx::B2DVector( rSize.Width(), rSize.Height() ); } - ::basegfx::B2DPoint b2DPointFromPoint( const ::Point& rPoint ) + basegfx::B2DPoint b2DPointFromPoint( const ::Point& rPoint ) { - return ::basegfx::B2DPoint( rPoint.X(), + return basegfx::B2DPoint( rPoint.X(), rPoint.Y() ); } - ::basegfx::B2DRange b2DRectangleFromRectangle( const ::Rectangle& rRect ) + basegfx::B2DRange b2DRectangleFromRectangle( const ::Rectangle& rRect ) { - return ::basegfx::B2DRange( rRect.Left(), + return basegfx::B2DRange( rRect.Left(), rRect.Top(), rRect.Right(), rRect.Bottom() ); |