cid#1470375 Unrecoverable parse warning

and

cid#1470366 Unrecoverable parse warning
cid#1470365 Unrecoverable parse warning
cid#1470361 Unrecoverable parse warning
cid#1470360 Unrecoverable parse warning
cid#1470367 Unrecoverable parse warning

Change-Id: Ib0b5167de65d1a16438ba8f8c564b0b89d52e6d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106982
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2020-12-01 13:16:16 +00:00
parent cebf5e827b
commit ebe25a18c4
2 changed files with 15 additions and 15 deletions

View File

@@ -1495,20 +1495,20 @@ static void NormalizeURI( OUString& rName )
bSuccess = NormalizeW3URI( rName );
}
const OUStringLiteral XML_URI_W3_PREFIX(u"http://www.w3.org/");
const OUStringLiteral XML_URI_XFORMS_SUFFIX(u"/xforms");
const OUStringLiteral XML_N_XFORMS_1_0(u"http://www.w3.org/2002/xforms");
const OUStringLiteral XML_N_SVG(u"http://www.w3.org/2000/svg");
const OUStringLiteral XML_N_SVG_COMPAT(u"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0");
const OUStringLiteral XML_N_FO(u"http://www.w3.org/1999/XSL/Format");
const OUStringLiteral XML_N_FO_COMPAT(u"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0");
const OUStringLiteral XML_N_SMIL(u"http://www.w3.org/2001/SMIL20/");
const OUStringLiteral XML_N_SMIL_OLD(u"http://www.w3.org/2001/SMIL20");
const OUStringLiteral XML_N_SMIL_COMPAT(u"urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0");
const OUStringLiteral XML_URN_OASIS_NAMES_TC(u"urn:oasis:names:tc");
const OUStringLiteral XML_XMLNS(u"xmlns");
const OUStringLiteral XML_OPENDOCUMENT(u"opendocument");
const OUStringLiteral XML_1_0(u"1.0");
constexpr OUStringLiteral XML_URI_W3_PREFIX(u"http://www.w3.org/");
constexpr OUStringLiteral XML_URI_XFORMS_SUFFIX(u"/xforms");
constexpr OUStringLiteral XML_N_XFORMS_1_0(u"http://www.w3.org/2002/xforms");
constexpr OUStringLiteral XML_N_SVG(u"http://www.w3.org/2000/svg");
constexpr OUStringLiteral XML_N_SVG_COMPAT(u"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0");
constexpr OUStringLiteral XML_N_FO(u"http://www.w3.org/1999/XSL/Format");
constexpr OUStringLiteral XML_N_FO_COMPAT(u"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0");
constexpr OUStringLiteral XML_N_SMIL(u"http://www.w3.org/2001/SMIL20/");
constexpr OUStringLiteral XML_N_SMIL_OLD(u"http://www.w3.org/2001/SMIL20");
constexpr OUStringLiteral XML_N_SMIL_COMPAT(u"urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0");
constexpr OUStringLiteral XML_URN_OASIS_NAMES_TC(u"urn:oasis:names:tc");
constexpr OUStringLiteral XML_XMLNS(u"xmlns");
constexpr OUStringLiteral XML_OPENDOCUMENT(u"opendocument");
constexpr OUStringLiteral XML_1_0(u"1.0");
static bool NormalizeW3URI( OUString& rName )
{

View File

@@ -49,7 +49,7 @@ const char* lclAnovaLabels[] =
nullptr
};
const OUStringLiteral strWildcardRange = u"%RANGE%";
constexpr OUStringLiteral strWildcardRange = u"%RANGE%";
OUString lclCreateMultiParameterFormula(
ScRangeList& aRangeList, const OUString& aFormulaTemplate,