summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-10-05 20:49:26 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-05 23:09:56 +0200
commit10ad9560fba562f494fa44fc8a7bd2388d9e8c5c (patch)
tree734c31a455749a7c30556a05b62bcf21cf9ad7df /onlineupdate
parent1f90b8086fcad7ac033e76a96bf102db7c15e44f (diff)
drop 'using namespace std' in o* r* x*
Change-Id: I15d56d133cf464a3cb6483be785b1259c7f35b43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123120 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx b/onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx
index c855e548efe0..2878aa2f0bb7 100644
--- a/onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx
+++ b/onlineupdate/source/update/updater/progressui-unused/progressui_gonk.cxx
@@ -16,8 +16,6 @@
#define LOG(args...) __android_log_print(ANDROID_LOG_INFO, "GeckoUpdater" , ## args)
-using namespace std;
-
int InitProgressUI(int *argc, char ***argv)
{
return 0;
@@ -48,7 +46,7 @@ void UpdateProgressUI(float progress)
sLastNumBars = numBars;
size_t numSpaces = kProgressBarLength - numBars;
- string bars(numBars, '=');
- string spaces(numSpaces, ' ');
+ std::string bars(numBars, '=');
+ std::string spaces(numSpaces, ' ');
LOG("Progress [ %s%s ]\n", bars.c_str(), spaces.c_str());
}