[Libreoffice-commits] core.git: sal/qa
Stephan Bergmann
sbergman at redhat.com
Wed Dec 17 08:58:00 PST 2014
sal/qa/rtl/strings/test_oustring_stringliterals.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f425517f2f0c22462ed463ef37ba76fe5c05df12
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Dec 17 17:57:28 2014 +0100
Fix 32-bit builds
Change-Id: I09049db51668176b90dabe2c82d525b2fab60299
diff --git a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
index 0848db1..c237b17 100644
--- a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
+++ b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
@@ -194,7 +194,7 @@ void test::oustring::StringLiterals::checkOUStringLiteral1()
{
rtl::OUString s1;
s1 = rtlunittest::OUStringLiteral1<'A'>();
- CPPUNIT_ASSERT_EQUAL(1, s1.getLength());
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(1), s1.getLength());
CPPUNIT_ASSERT_EQUAL(sal_Unicode('A'), s1[0]);
CPPUNIT_ASSERT_EQUAL(
@@ -207,7 +207,7 @@ void test::oustring::StringLiterals::checkOUStringLiteral1()
true, rtl::OUString("AB") != rtlunittest::OUStringLiteral1<'A'>());
rtl::OUString s2("A" + rtlunittest::OUStringLiteral1<'b'>());
- CPPUNIT_ASSERT_EQUAL(2, s2.getLength());
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(2), s2.getLength());
CPPUNIT_ASSERT_EQUAL(sal_Unicode('A'), s2[0]);
CPPUNIT_ASSERT_EQUAL(sal_Unicode('b'), s2[1]);
}
More information about the Libreoffice-commits
mailing list