summaryrefslogtreecommitdiff
path: root/xmloff/source/style/MarkerStyle.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 /xmloff/source/style/MarkerStyle.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 'xmloff/source/style/MarkerStyle.cxx')
-rw-r--r--xmloff/source/style/MarkerStyle.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/style/MarkerStyle.cxx b/xmloff/source/style/MarkerStyle.cxx
index d6eba2a483e5..580c5505efd9 100644
--- a/xmloff/source/style/MarkerStyle.cxx
+++ b/xmloff/source/style/MarkerStyle.cxx
@@ -98,7 +98,7 @@ void XMLMarkerStyleImport::importXML(
{
basegfx::B2DPolyPolygon aPolyPolygon;
- if(basegfx::tools::importFromSvgD(aPolyPolygon, strPathData, rImport.needFixPositionAfterZ(), nullptr))
+ if(basegfx::utils::importFromSvgD(aPolyPolygon, strPathData, rImport.needFixPositionAfterZ(), nullptr))
{
if(aPolyPolygon.count())
{
@@ -115,7 +115,7 @@ void XMLMarkerStyleImport::importXML(
if(!aSourceRange.equal(aTargetRange))
{
aPolyPolygon.transform(
- basegfx::tools::createSourceRangeTargetRangeTransform(
+ basegfx::utils::createSourceRangeTargetRangeTransform(
aSourceRange,
aTargetRange));
}
@@ -123,7 +123,7 @@ void XMLMarkerStyleImport::importXML(
// always use PolyPolygonBezierCoords here
drawing::PolyPolygonBezierCoords aSourcePolyPolygon;
- basegfx::tools::B2DPolyPolygonToUnoPolyPolygonBezierCoords(
+ basegfx::utils::B2DPolyPolygonToUnoPolyPolygonBezierCoords(
aPolyPolygon,
aSourcePolyPolygon);
rValue <<= aSourcePolyPolygon;
@@ -173,7 +173,7 @@ void XMLMarkerStyleExport::exportXML(
}
const basegfx::B2DPolyPolygon aPolyPolygon(
- basegfx::tools::UnoPolyPolygonBezierCoordsToB2DPolyPolygon(
+ basegfx::utils::UnoPolyPolygonBezierCoordsToB2DPolyPolygon(
aBezier));
const basegfx::B2DRange aPolyPolygonRange(aPolyPolygon.getB2DRange());
@@ -189,7 +189,7 @@ void XMLMarkerStyleExport::exportXML(
// Pathdata
const OUString aPolygonString(
- basegfx::tools::exportToSvgD(
+ basegfx::utils::exportToSvgD(
aPolyPolygon,
true, // bUseRelativeCoordinates
false, // bDetectQuadraticBeziers: not used in old, but maybe activated now