diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-09-22 14:12:07 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-09-26 14:18:41 +0200 |
commit | 8e7897588d7185ef1964e8120669c1de3d1ce734 (patch) | |
tree | 8f48598670a5dc22703371943c05789d60b9a07d /sfx2 | |
parent | 0b4135ec9945ea627318ecf5fccc4b7d0940ff0d (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 'sfx2')
-rw-r--r-- | sfx2/source/appl/appmisc.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/emojiviewitem.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/templateviewitem.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailview.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailviewitem.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx index 03b4da82b2fc..4f80c0d6bff5 100644 --- a/sfx2/source/appl/appmisc.cxx +++ b/sfx2/source/appl/appmisc.cxx @@ -145,7 +145,7 @@ bool SfxApplication::loadBrandSvg(const char *pName, BitmapEx &rBitmap, int nWid const double fAspectRatio( aRange.getHeight() == 0.0 ? 1.0 : aRange.getWidth()/aRange.getHeight()); basegfx::B2DHomMatrix aTransform( - basegfx::tools::createTranslateB2DHomMatrix( + basegfx::utils::createTranslateB2DHomMatrix( -aRange.getMinX(), -aRange.getMinY())); aTransform.scale( diff --git a/sfx2/source/control/emojiviewitem.cxx b/sfx2/source/control/emojiviewitem.cxx index b7c14e874de8..1408d8d215a7 100644 --- a/sfx2/source/control/emojiviewitem.cxx +++ b/sfx2/source/control/emojiviewitem.cxx @@ -26,7 +26,7 @@ #include <sfx2/strings.hrc> using namespace basegfx; -using namespace basegfx::tools; +using namespace basegfx::utils; using namespace drawinglayer::attribute; using namespace drawinglayer::primitive2d; diff --git a/sfx2/source/control/templateviewitem.cxx b/sfx2/source/control/templateviewitem.cxx index 02c180349cf9..5ebc0ee58d60 100644 --- a/sfx2/source/control/templateviewitem.cxx +++ b/sfx2/source/control/templateviewitem.cxx @@ -27,7 +27,7 @@ #include "bitmaps.hlst" using namespace basegfx; -using namespace basegfx::tools; +using namespace basegfx::utils; using namespace drawinglayer::attribute; using namespace drawinglayer::primitive2d; diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index d6a02103a500..badda16bd1a6 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -42,7 +42,7 @@ #include <memory> using namespace basegfx; -using namespace basegfx::tools; +using namespace basegfx::utils; using namespace drawinglayer::attribute; using namespace drawinglayer::primitive2d; diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx index 4baef695440d..852e091ef909 100644 --- a/sfx2/source/control/thumbnailviewitem.cxx +++ b/sfx2/source/control/thumbnailviewitem.cxx @@ -40,7 +40,7 @@ #include <vcl/textdata.hxx> using namespace basegfx; -using namespace basegfx::tools; +using namespace basegfx::utils; using namespace ::com::sun::star; using namespace drawinglayer::attribute; using namespace drawinglayer::primitive2d; |