summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/textaction.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-09-22 14:12:07 +0300
committerTor Lillqvist <tml@collabora.com>2017-09-26 14:18:41 +0200
commit8e7897588d7185ef1964e8120669c1de3d1ce734 (patch)
tree8f48598670a5dc22703371943c05789d60b9a07d /cppcanvas/source/mtfrenderer/textaction.cxx
parent0b4135ec9945ea627318ecf5fccc4b7d0940ff0d (diff)
Rename the basegfx::tools namespace to basegfx::utils
Reduce potential confusion with the global tools namespace. Will hopefully make it possible to remove the annoying initial :: when referring to the global tools namespace. Unless we have even more tools subnamespaces somewhere. Thorsten said it was OK. Change-Id: Id088dfe8f4244cb79df9aa988995b31a1758c996 Reviewed-on: https://gerrit.libreoffice.org/42644 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'cppcanvas/source/mtfrenderer/textaction.cxx')
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index 3c8827ecb65d..e53a2c0fe6e1 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -37,7 +37,7 @@
#include <vcl/canvastools.hxx>
#include <vcl/virdev.hxx>
-#include <basegfx/tools/canvastools.hxx>
+#include <basegfx/utils/canvastools.hxx>
#include <canvas/canvastools.hxx>
#include <memory>
@@ -74,7 +74,7 @@ namespace cppcanvas
nullptr,
&rState.fontRotation );
- basegfx::B2DHomMatrix aLocalTransformation(basegfx::tools::createRotateB2DHomMatrix(rState.fontRotation));
+ basegfx::B2DHomMatrix aLocalTransformation(basegfx::utils::createRotateB2DHomMatrix(rState.fontRotation));
aLocalTransformation.translate( rStartPoint.getX(),
rStartPoint.getY() );
::canvas::tools::appendToRenderState( o_rRenderState,
@@ -576,7 +576,7 @@ namespace cppcanvas
rOffsets,
rLineInfo ) );
- o_rOverallSize = ::basegfx::tools::getRange( aPoly ).getRange();
+ o_rOverallSize = ::basegfx::utils::getRange( aPoly ).getRange();
o_rTextLines = ::basegfx::unotools::xPolyPolygonFromB2DPolyPolygon(
rCanvas->getUNOCanvas()->getDevice(),
@@ -593,7 +593,7 @@ namespace cppcanvas
tools::createTextLinesPolyPolygon( 0.0, nLineWidth,
rLineInfo ) );
- o_rOverallSize = ::basegfx::tools::getRange( aPoly ).getRange();
+ o_rOverallSize = ::basegfx::utils::getRange( aPoly ).getRange();
o_rTextLines = ::basegfx::unotools::xPolyPolygonFromB2DPolyPolygon(
rCanvas->getUNOCanvas()->getDevice(),
@@ -1495,7 +1495,7 @@ namespace cppcanvas
return calcEffectTextBounds( ::basegfx::unotools::b2DRectangleFromRealRectangle2D(
xTextLayout->queryTextBounds() ),
- ::basegfx::tools::getRange( aPoly ),
+ ::basegfx::utils::getRange( aPoly ),
maReliefOffset,
maShadowOffset,
aLocalState,
@@ -2007,7 +2007,7 @@ namespace cppcanvas
rReliefColor,
rShadowOffset,
rShadowColor,
- ::basegfx::tools::getRange(aResultingPolyPolygon),
+ ::basegfx::utils::getRange(aResultingPolyPolygon),
xTextPoly,
aCharWidthSeq,
rVDev,
@@ -2024,7 +2024,7 @@ namespace cppcanvas
rReliefColor,
rShadowOffset,
rShadowColor,
- ::basegfx::tools::getRange(aResultingPolyPolygon),
+ ::basegfx::utils::getRange(aResultingPolyPolygon),
xTextPoly,
aCharWidthSeq,
rVDev,