diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:29:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:29:47 +0200 |
commit | 70986cc3d4b283ce58f659507c57062eeb4b4b98 (patch) | |
tree | ed59b41600db3746427d96d31da278feb8bcced2 /tools/source | |
parent | 32f9120fa076ef9dcee1d29e0a596a36aade353c (diff) |
loplugin:stringconstant: adapt to improved OUStringLiteral1 (tools)
Change-Id: I624505ceee232a531826915755717f2e09dc0a72
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 2e4b74a3d9aa..34fb6aa5df46 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -666,15 +666,15 @@ bool parseParameters(ParameterList const & rInput, if (pNext->m_bExtended) { for (sal_Int32 i = 0; i < pNext->m_aValue.getLength(); ++i) - aValue += OUString(sal_Unicode( + aValue += OUStringLiteral1( sal_Unicode( static_cast<unsigned char>(pNext->m_aValue[i])) - | 0xF800)); + | 0xF800); } else { for (sal_Int32 i = 0; i < pNext->m_aValue.getLength(); ++i) - aValue += OUString( sal_Unicode(static_cast<unsigned char>(pNext->m_aValue[i])) ); + aValue += OUStringLiteral1( static_cast<unsigned char>(pNext->m_aValue[i]) ); } pNext = pNext->m_pNext; if (!pNext || pNext->m_nSection == 0) |