diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-11 13:50:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-11 15:47:38 +0100 |
commit | 8030c5cfbb9e88038d34f0b753c415c207927441 (patch) | |
tree | 9a0bad6a5cec4c6fb19aaeb69dcc792acd909bd8 /sal/osl | |
parent | bc7a5d01a0a87f3d125fba2a0c3e4293108bb23a (diff) |
loplugin:reftotemp in pyuno..sax
Change-Id: Ia616256e06f64ad3c635ac30abf521e5dab107d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176401
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/all/log.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index 6d6e808e7446..f11fc4accd04 100644 --- a/sal/osl/all/log.cxx +++ b/sal/osl/all/log.cxx @@ -243,7 +243,7 @@ std::pair<bool, bool> getTimestampFlags(char const *selector) void maybeOutputTimestamp(std::ostringstream &s) { static const std::pair<bool, bool> aEnvFlags = getTimestampFlags(getLogLevelEnvVar()); - const auto& [outputTimestamp, outputRelativeTimer] = (pLogSelector == nullptr ? aEnvFlags : getTimestampFlags(pLogSelector)); + const auto [outputTimestamp, outputRelativeTimer] = (pLogSelector == nullptr ? aEnvFlags : getTimestampFlags(pLogSelector)); if (!(outputTimestamp || outputRelativeTimer)) { return; |