diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-11-18 12:55:20 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-11-18 15:03:43 +0100 |
commit | 7e89f4194e76863097a1d791cda8cfbf352c0109 (patch) | |
tree | d7321d2230d014bef18c85655b6417d3ef786398 /l10ntools/source/po.cxx | |
parent | d1869324494d943f684c4dfd15d311e23352c6a6 (diff) |
cppcheck: fix returnDanglingLifetime (l10ntools)
Change-Id: Ia3c094ee65be3f5048df6896a4a6428bdd8fed10
Reviewed-on: https://gerrit.libreoffice.org/63527
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'l10ntools/source/po.cxx')
-rw-r--r-- | l10ntools/source/po.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index 4e60d82160d3..a0107530e194 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -442,7 +442,7 @@ namespace struct tm* pNow = localtime(&aNow); char pBuff[50]; strftime( pBuff, sizeof pBuff, "%Y-%m-%d %H:%M%z", pNow ); - return pBuff; + return OString(pBuff); } } |