diff options
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index a8c6d9fee332..0468e1265472 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2736,7 +2736,7 @@ void CodeCompleteListBox::KeyInput( const KeyEvent& rKeyEvt ) if( !aTabInsertedStr.isEmpty() && aTabInsertedStr != aFuncBuffer.toString() ) { - aFuncBuffer.makeStringAndClear(); + aFuncBuffer.setLength(0); aFuncBuffer = aFuncBuffer.append(aTabInsertedStr); } aFuncBuffer = aFuncBuffer.remove(aFuncBuffer.getLength()-1, 1); @@ -2799,7 +2799,7 @@ void CodeCompleteWindow::InsertEntry( const OUString& aStr ) void CodeCompleteWindow::ClearListBox() { pListBox->Clear(); - pListBox->aFuncBuffer.makeStringAndClear(); + pListBox->aFuncBuffer.setLength(0); } void CodeCompleteWindow::SetTextSelection( const TextSelection& aSel ) |