summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-29 12:03:33 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-29 11:28:54 +0000
commit0371a6336582aea9574d1f8e6ae152ef3f95ac62 (patch)
tree06cc3b234b45ee5a5cb72387068adae84226ce9b /desktop
parentb9f080e012d0e4f5343da940079c20d3f9c63513 (diff)
remove unnecessary 'using namespace rtl' declarations
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/misc/lockfile.cxx1
-rw-r--r--desktop/source/splash/splash.cxx5
-rw-r--r--desktop/source/splash/unxsplash.hxx1
3 files changed, 2 insertions, 5 deletions
diff --git a/desktop/source/deployment/misc/lockfile.cxx b/desktop/source/deployment/misc/lockfile.cxx
index 1f3d2f2a86ce..a95e58eaf19a 100644
--- a/desktop/source/deployment/misc/lockfile.cxx
+++ b/desktop/source/deployment/misc/lockfile.cxx
@@ -35,7 +35,6 @@
#include "lockfile.hxx"
using namespace ::osl;
-using namespace ::rtl;
using namespace ::utl;
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index 8c59212823a3..38ec781f3bd3 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -39,7 +39,6 @@
#define NOT_LOADED ((long)-1)
-using namespace ::rtl;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::registry;
using namespace ::com::sun::star::task;
@@ -524,7 +523,7 @@ void SplashScreen::determineProgressRatioValues(
Rectangle aScreenArea = Application::GetScreenPosSizePixel((unsigned int)0);
nWidth = aScreenArea.GetWidth();
nHeight = aScreenArea.GetHeight();
- nScreenRatio = nHeight ? sal_Int32( math::round( double( nWidth ) / double( nHeight ), 2 ) * 100 ) : 0;
+ nScreenRatio = nHeight ? sal_Int32( rtl::math::round( double( nWidth ) / double( nHeight ), 2 ) * 100 ) : 0;
}
char szFullScreenProgressRatio[] = "FullScreenProgressRatio0";
@@ -543,7 +542,7 @@ void SplashScreen::determineProgressRatioValues(
if ( !sFullScreenProgressRatio.isEmpty() )
{
double fRatio = sFullScreenProgressRatio.toDouble();
- sal_Int32 nRatio = sal_Int32( math::round( fRatio, 2 ) * 100 );
+ sal_Int32 nRatio = sal_Int32( rtl::math::round( fRatio, 2 ) * 100 );
if ( nRatio == nScreenRatio )
{
OUString sFullScreenProgressPos = implReadBootstrapKey(
diff --git a/desktop/source/splash/unxsplash.hxx b/desktop/source/splash/unxsplash.hxx
index db06dc391a28..8728d7ea199d 100644
--- a/desktop/source/splash/unxsplash.hxx
+++ b/desktop/source/splash/unxsplash.hxx
@@ -26,7 +26,6 @@
#include <osl/mutex.hxx>
#include <rtl/bootstrap.hxx>
-using namespace ::rtl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::registry;
using namespace ::com::sun::star::uno;