diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-24 16:33:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-24 16:33:50 +0200 |
commit | 5cba714b4d03ed54debf71534ad8c8edc383a01e (patch) | |
tree | a15e0b73f4747a56840f3f457ca786bbbeb759aa /sal/qa | |
parent | 4d4f3512db0cf0bf47c2ba1b39c3813842903ef7 (diff) |
Revert "Generalize OUStringLiteral1"
This reverts commit 4d4f3512db0cf0bf47c2ba1b39c3813842903ef7, at least "gcc
version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux)" fails with
"include/rtl/stringutils.hxx:175:49: internal compiler error: Segmentation
fault."
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/rtl/strings/test_oustring_stringliterals.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx index 825e7d84ad25..9b85b314c85f 100644 --- a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx +++ b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx @@ -192,20 +192,6 @@ void test::oustring::StringLiterals::checkOUStringLiteral() void test::oustring::StringLiterals::checkOUStringLiteral1() { - auto l1 = rtlunittest::OUStringLiteral1<'A'>(); - CPPUNIT_ASSERT_EQUAL('A', l1.c); - - char const c2 = 'A'; - auto l2 = rtlunittest::OUStringLiteral1<c2>(); - CPPUNIT_ASSERT_EQUAL('A', l2.c); - - // char c3 = 'A'; auto l3 = rtlunittest::OUStringLiteral1<c3>(); - - auto l4 = rtlunittest::OUStringLiteral1<sal_Unicode('A')>(); - CPPUNIT_ASSERT_EQUAL('A', l4.c); - - // auto l5 = rtlunittest::OUStringLiteral1<sal_Unicode(0x100)>(); - rtl::OUString s1; s1 = rtlunittest::OUStringLiteral1<'A'>(); CPPUNIT_ASSERT_EQUAL(sal_Int32(1), s1.getLength()); |