From 117ecc9870f57c3c211b4bfd35728503e1875743 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 10 Jan 2021 16:41:27 +0000 Subject: fix coverity parse errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4884bfb67a061b865e8cf38b2fea6de0cb1bc3d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109057 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svl/source/numbers/zformat.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl/source') diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index d8f755ba5be5..df8569b13dc6 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -51,7 +51,7 @@ using namespace svt; namespace { -OUStringLiteral const GREGORIAN = u"gregorian"; +constexpr OUStringLiteral GREGORIAN = u"gregorian"; const sal_uInt16 UPPER_PRECISION = 300; // entirely arbitrary... const double EXP_LOWER_BOUND = 1.0E-4; // prefer scientific notation below this value. -- cgit