diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-22 12:52:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-25 16:35:37 +0200 |
commit | 9a7d2d72cef7ff14a020c1024fbff8c00e4e4aff (patch) | |
tree | 45c2ab6d7ecd896f990633346a2dd842d3e67c2f /vcl/qa | |
parent | 4da36c9af3bc31c8efb9505fe3d07a22cd51c487 (diff) |
tell msvc our source code is written using utf-8
Change-Id: I4fb364ceb34e0851f2d04c403333bf428e8cfa98
Reviewed-on: https://gerrit.libreoffice.org/40305
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/qa')
-rw-r--r-- | vcl/qa/cppunit/mnemonic.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/mnemonic.cxx b/vcl/qa/cppunit/mnemonic.cxx index fb8bc8c454ac..4527d2ed1784 100644 --- a/vcl/qa/cppunit/mnemonic.cxx +++ b/vcl/qa/cppunit/mnemonic.cxx @@ -33,8 +33,7 @@ void VclMnemonicTest::testMnemonic() MnemonicGenerator aGenerator; { - const sal_Unicode TEST[] = { 0x00DF, 'a' }; - OUString sResult = aGenerator.CreateMnemonic(OUString(TEST, SAL_N_ELEMENTS(TEST))); + OUString sResult = aGenerator.CreateMnemonic(OUString::fromUtf8(u8"ßa")); CPPUNIT_ASSERT_EQUAL(u'~', sResult[1]); } |