diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 08:22:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 14:46:53 +0200 |
commit | 04112bce506c60254cb1cb8536f942c8adb5c7d6 (patch) | |
tree | 43b63df6f5b5eeb89abe70094b415ddfed152a9a /forms/source/component/Filter.cxx | |
parent | 8feca893a902abe3c238403f0a1f59a24fb24926 (diff) |
loplugin:sequentialassign in filter..fpicker
Change-Id: I4ba0e1e982897bd570612f6cda8ba1e6a9fa5dbd
Reviewed-on: https://gerrit.libreoffice.org/70700
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/component/Filter.cxx')
-rw-r--r-- | forms/source/component/Filter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index fb56cbdd3c8a..ccaa7f209687 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -519,8 +519,7 @@ namespace frm if ( m_aText != aText ) { // check the text with the SQL-Parser - OUString aNewText(aText); - aNewText = aNewText.trim(); + OUString aNewText = aText.trim(); if ( !aNewText.isEmpty() ) { ::dbtools::OPredicateInputController aPredicateInput( m_xContext, m_xConnection, getParseContext() ); |