diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:46:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:46:18 +0200 |
commit | 60fe31ec22a38281dd0dfbfcc9dcc3f03cbd2d59 (patch) | |
tree | 3d858bccaf3413f1ac84dc832650c10b680b1980 /forms | |
parent | 2a440a747cd9a7d2b6825d515bc7e1cdbe8fca7f (diff) |
loplugin:oncevar: empty strings: forms
Change-Id: I2cf41554d0f347ce5f052fce587e394ca6f92531
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 085a6fc16d32..d56659fcec70 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -868,7 +868,6 @@ void ODatabaseForm::FillSuccessfulList( HtmlSuccessfulObjList& rList, rList.clear(); // Iterate over Components Reference<XPropertySet> xComponentSet; - OUString aPrefix; // we know already how many objects should be appended, // so why not allocate the space for them @@ -876,7 +875,7 @@ void ODatabaseForm::FillSuccessfulList( HtmlSuccessfulObjList& rList, for( sal_Int32 nIndex=0; nIndex < getCount(); nIndex++ ) { getByIndex( nIndex ) >>= xComponentSet; - AppendComponent(rList, xComponentSet, aPrefix, rxSubmitButton, MouseEvt); + AppendComponent(rList, xComponentSet, OUString(), rxSubmitButton, MouseEvt); } } |