diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-09-15 10:23:52 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-09-15 10:24:32 +0300 |
commit | 2ba8a592ca6f3035a2e3d5fe85c14122d8d0049c (patch) | |
tree | 82875474bba224b5bcc67e19f070aa939caf6762 /cui | |
parent | a8139ccef665f6a6c8a01b06e83b83ba0cc2e058 (diff) |
WaE: loplugin:stringconstant
Fix warning: in call of rtl::OUString::operator+=, replace OUString
constructed from an ASCII char constant with a string literal.
Change-Id: I56ccf89b6b6b8c8b9a0d54ba688adc5c45ec28e1
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optpath.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx index 2aa6aafbcbc4..a60d36dd46b3 100644 --- a/cui/source/options/optpath.cxx +++ b/cui/source/options/optpath.cxx @@ -598,12 +598,12 @@ IMPL_LINK_NOARG_TYPED(SvxPathTabPage, PathHdl_Impl, Button*, void) break; } if ( !sUser.isEmpty() ) - sUser += OUString(cDelim); + sUser += OUStringLiteral1<MULTIPATH_DELIMITER>(); sUser += sToken; } sFullPath = sUser; if ( !sFullPath.isEmpty() ) - sFullPath += OUString(cDelim); + sFullPath += OUStringLiteral1<MULTIPATH_DELIMITER>(); sFullPath += sWritable; } |