summaryrefslogtreecommitdiff
path: root/formula/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:46:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:46:12 +0200
commit2a440a747cd9a7d2b6825d515bc7e1cdbe8fca7f (patch)
tree03b94c30d6d8e1d99825b6d4872aaf7dd4664f18 /formula/source
parent48d8b2d468ad5a431f75b610f3a1ed1f45a887c5 (diff)
loplugin:oncevar: empty strings: formula
Change-Id: I76c0ac6cbd8475884fb80002ebb91f2ba84818a0
Diffstat (limited to 'formula/source')
-rw-r--r--formula/source/ui/dlg/parawin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/formula/source/ui/dlg/parawin.cxx b/formula/source/ui/dlg/parawin.cxx
index b5fe5d0059be..069a104574a0 100644
--- a/formula/source/ui/dlg/parawin.cxx
+++ b/formula/source/ui/dlg/parawin.cxx
@@ -435,8 +435,7 @@ void ParaWin::SetArgumentOffset(sal_uInt16 nOffset)
{
for ( int i=0; i<4 && i<nArgs; i++ )
{
- OUString aString;
- aArgInput[i].SetArgVal(aString);
+ aArgInput[i].SetArgVal(OUString());
aArgInput[i].GetArgEdPtr()->Init(
(i==0) ? nullptr : aArgInput[i-1].GetArgEdPtr(),
(i==3 || i==nArgs-1) ? nullptr : aArgInput[i+1].GetArgEdPtr(),