diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-02 19:52:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-02 21:47:38 +0100 |
commit | 7f305223fa6d6a1ad4a6f906b14f879cb01539be (patch) | |
tree | c48f2af6875094ab09853058323c804c6cb36d4c /comphelper | |
parent | ed94101d8c399f6de2e2b9b7cd31dd6b68d269a8 (diff) |
New loplugin:conditionalstring
Change-Id: I2eab990c15f845b44a3b598571aca361dadf9ff3
Reviewed-on: https://gerrit.libreoffice.org/81946
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/profilezone.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/profilezone.cxx b/comphelper/source/misc/profilezone.cxx index 72d9bcde06b9..ff76a4f35e8d 100644 --- a/comphelper/source/misc/profilezone.cxx +++ b/comphelper/source/misc/profilezone.cxx @@ -57,7 +57,7 @@ long long addRecording(const char * aProfileId, long long aCreateTime) OUString sRecordingData(OUString::number(osl_getThreadIdentifier(nullptr)) + " " + OUString::number(aTime/1000000.0) + " " + aString + ": " + - (aCreateTime == 0 ? OUString("start") : OUString("stop")) + + (aCreateTime == 0 ? OUStringLiteral("start") : OUStringLiteral("stop")) + (aCreateTime != 0 ? (" " + OUString::number((aTime - aCreateTime)/1000.0) + " ms") : OUString(""))); ::osl::MutexGuard aGuard( g_aMutex ); |