Kaydet (Commit) 85693bff authored tarafından Tor Lillqvist's avatar Tor Lillqvist

OUString::trim() does not modify in-place

Change-Id: I20e51370920b8a7ca3152c0c2e4d3d65c46a20cc
üst 78234602
...@@ -522,7 +522,7 @@ namespace frm ...@@ -522,7 +522,7 @@ namespace frm
{ {
// check the text with the SQL-Parser // check the text with the SQL-Parser
::rtl::OUString aNewText(aText); ::rtl::OUString aNewText(aText);
aNewText.trim(); aNewText = aNewText.trim();
if ( !aNewText.isEmpty() ) if ( !aNewText.isEmpty() )
{ {
::dbtools::OPredicateInputController aPredicateInput( maContext.getUNOContext(), m_xConnection, getParseContext() ); ::dbtools::OPredicateInputController aPredicateInput( maContext.getUNOContext(), m_xConnection, getParseContext() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment