diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 09:41:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 10:41:06 +0000 |
commit | 27a673ac52e02f921ae78d409d0becc85bb7f602 (patch) | |
tree | 42ec69c2708df550a425b58a536a14f78f140d57 /i18nutil | |
parent | 193ec57c899c6941675a86b7a24d6af60e410938 (diff) |
coverity#1371289 Missing move assignment operator
Change-Id: Idc26faf904f0c89cfd66f53bb311d8ce9b41eaab
Diffstat (limited to 'i18nutil')
-rw-r--r-- | i18nutil/source/utility/unicode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index 61ce7c04d2b2..5d8a70aa4d77 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -1198,7 +1198,7 @@ OUString ToggleUnicodeCodepoint::StringToReplace() //if U+ notation used, strip off all extra chars added not in U+ notation if( nUPlus != -1 ) { - maInput = maInput.copy(nUPlus); + maInput.remove(0, nUPlus); sIn = maInput.copy(2).toString(); nUPlus = sIn.indexOf("U+"); } |