summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-10 10:53:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-10 10:58:08 +0000
commitae755d90241e9e626a58f94d8bf61b1974ea84d4 (patch)
tree5b2da03410a3c99b49349be9c82d341d5e4facce /vcl
parent5f2e1eda4532a52fe9f0f9d2017b37d566f25f33 (diff)
coverity#1371289 Missing move assignment operator
Change-Id: Iabdebb02e91c630aef11e99f4677fd4187df78a5
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/field2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 8699725b239c..cab30fd1bed8 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -1965,7 +1965,7 @@ static bool ImplCutTimePortion( OUStringBuffer& _rStr, sal_Int32 _nSepPos, bool
OUString sPortion(_rStr.getStr(), _nSepPos );
if (_nSepPos < _rStr.getLength())
- _rStr = _rStr.copy(_nSepPos + 1);
+ _rStr.remove(0, _nSepPos + 1);
else
_rStr.truncate();