diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-05 13:52:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-05 13:52:17 +0100 |
commit | c03d803a723e3325b210346126115457e914f605 (patch) | |
tree | 4de546352d3bd7f8534b07128cf946638790d93c /connectivity | |
parent | 910817d7364253c8ed0dc876e5e38fdc707e0ee8 (diff) |
Replace side-effect--only uses of makeStringAndClear() with setLength(0)
Change-Id: Iaf8011f1bd6a10b324653899b7f51458f7d0b68a
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/filtermanager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/filtermanager.cxx b/connectivity/source/commontools/filtermanager.cxx index 6296e2c55d98..63fe39c0f17c 100644 --- a/connectivity/source/commontools/filtermanager.cxx +++ b/connectivity/source/commontools/filtermanager.cxx @@ -130,13 +130,13 @@ namespace dbtools else if (!m_aLinkFilterComponent.isEmpty()) o_singleComponent = m_aLinkFilterComponent; else - o_singleComponent.makeStringAndClear(); + o_singleComponent.setLength(0); return true; } else { if (m_aLinkFilterComponent.isEmpty()) - o_singleComponent.makeStringAndClear(); + o_singleComponent.setLength(0); else o_singleComponent = m_aLinkFilterComponent; return true; |