summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:10:45 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 11:11:47 +0200
commitfef9472dcc89688c89b15b997857abb94cb22f47 (patch)
treebe1ed6514a2555ebdfb5a3ba5fb33866b2bcecc9 /sc/source/core/tool/compiler.cxx
parent18da84abd6667775b6e79a20418ad4bcb65c45af (diff)
loplugin: defaultparams
Change-Id: I0d4b901b6678f3344ed62018d871e1630195aef0
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 7c2e6aabd2ec..1adfabacd557 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -2521,7 +2521,7 @@ Label_MaskStateMachine:
{ // ?!?
SetError( nErr = errIllegalChar );
nSrcPos = aFormula.getLength();
- aSymbol.truncate(0);
+ aSymbol.truncate();
}
else
{