From 8e7897588d7185ef1964e8120669c1de3d1ce734 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 22 Sep 2017 14:12:07 +0300 Subject: 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 Reviewed-by: Tor Lillqvist --- editeng/source/items/borderline.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'editeng') diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx index caa86bcce036..41b8eae938a3 100644 --- a/editeng/source/items/borderline.cxx +++ b/editeng/source/items/borderline.cxx @@ -33,7 +33,7 @@ namespace { Color lcl_compute3DColor( Color aMain, int nLight, int nMedium, int nDark ) { basegfx::BColor color = aMain.getBColor( ); - basegfx::BColor hsl = basegfx::tools::rgb2hsl( color ); + basegfx::BColor hsl = basegfx::utils::rgb2hsl( color ); int nCoef = 0; if ( hsl.getZ( ) >= 0.5 ) @@ -45,7 +45,7 @@ namespace { double L = hsl.getZ() * 255.0 + nCoef; hsl.setZ( L / 255.0 ); - color = basegfx::tools::hsl2rgb( hsl ); + color = basegfx::utils::hsl2rgb( hsl ); return Color( color ); } @@ -63,9 +63,9 @@ Color SvxBorderLine::lightColor( Color aMain ) // Divide Luminance by 2 basegfx::BColor color = aMain.getBColor( ); - basegfx::BColor hsl = basegfx::tools::rgb2hsl( color ); + basegfx::BColor hsl = basegfx::utils::rgb2hsl( color ); hsl.setZ( hsl.getZ() * 0.5 ); - color = basegfx::tools::hsl2rgb( hsl ); + color = basegfx::utils::hsl2rgb( hsl ); return Color( color ); } -- cgit