summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-24 08:49:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-24 09:42:21 +0100
commitfcefc0d4aba8a7001f07a18e044776dc9dc4bb5e (patch)
tree7a7c76faeee5dbca036860aa2696a249da9153f2 /sc
parent0c62e89bcc1a353c292b93f88e5f164df546d224 (diff)
coverity#1371289 Missing move assignment operator
Change-Id: I362f2b53c5095810111f0a393e527a38e2abf0e1
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xecontent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index bf5534e32dbd..62682e07d405 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -1679,7 +1679,7 @@ XclExpDV::XclExpDV( const XclExpRoot& rRoot, sal_uLong nScHandle ) :
nLen = 256;
if( sFormulaBuf[nLen - 1] == ',' )
--nLen;
- sFormulaBuf = sFormulaBuf.copy(0, nLen);
+ sFormulaBuf.truncate(nLen);
}
sFormulaBuf.append( '"' );