From 10ad9560fba562f494fa44fc8a7bd2388d9e8c5c Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 5 Oct 2021 20:49:26 +0200 Subject: 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 --- .../source/update/updater/progressui-unused/progressui_gonk.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'onlineupdate') 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()); } -- cgit