From 5536aea8228778e00b9f1ca8199d858cd03780ad Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 30 Aug 2016 07:43:52 +0200 Subject: Let OUStringLiteral1 take its arg as ctor arg, not template arg ...which makes it more flexible, can now also be used on non-const arguments. The drawback of the argument no longer being a compile-time constant is remedied by making the ctor constexpr. Change-Id: Ia4903a2cc86791fece92eac0cb8406b6659dd19d --- comphelper/qa/string/test_string.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper/qa') diff --git a/comphelper/qa/string/test_string.cxx b/comphelper/qa/string/test_string.cxx index b9650a3a199f..636c30587370 100644 --- a/comphelper/qa/string/test_string.cxx +++ b/comphelper/qa/string/test_string.cxx @@ -62,7 +62,7 @@ void TestString::testDecimalStringToNumber() { OUString s1("1234"); CPPUNIT_ASSERT_EQUAL((sal_uInt32)1234, comphelper::string::decimalStringToNumber(s1)); - s1 += OUStringLiteral1<0x07C6>(); + s1 += OUStringLiteral1(0x07C6); CPPUNIT_ASSERT_EQUAL((sal_uInt32)12346, comphelper::string::decimalStringToNumber(s1)); // Codepoints on 2 16bits words sal_uInt32 utf16String[] = { 0x1D7FE /* 8 */, 0x1D7F7 /* 1 */}; -- cgit distro/cib/libreoffice-5-0'>distro/cib/libreoffice-5-0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/nlpsolver
AgeCommit message (Expand)Author
2018-06-26tdf#43388: add missing info for Evolutionary Algorithm SolverJulien Nabet
2018-01-27Fix typosAndrea Gelmini
2017-02-03TyposJulien Nabet
2016-12-12tdf#104268 NLPSolver: Improve display of solutionLaurent Balland-Poirier
2016-11-06tdf#103622 do not use arrow as separator of menu commandsStanislav Horacek