diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-28 22:28:21 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-28 22:28:21 +0200 |
commit | 85693bffad5c863e5cd4d4b3664856a9fec607d5 (patch) | |
tree | c5145e6173f2dd8aae45be8d0cb631381652a8cc /forms/source/component | |
parent | 78234602ceb6aaaff9996240b388be12fcff968f (diff) |
OUString::trim() does not modify in-place
Change-Id: I20e51370920b8a7ca3152c0c2e4d3d65c46a20cc
Diffstat (limited to 'forms/source/component')
-rw-r--r-- | forms/source/component/Filter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index 1b257a5e55f5..948bdcc4cff3 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -522,7 +522,7 @@ namespace frm { // check the text with the SQL-Parser ::rtl::OUString aNewText(aText); - aNewText.trim(); + aNewText = aNewText.trim(); if ( !aNewText.isEmpty() ) { ::dbtools::OPredicateInputController aPredicateInput( maContext.getUNOContext(), m_xConnection, getParseContext() ); |