diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/edit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index ca84e648f859..c62d4643e00f 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -325,7 +325,7 @@ bool SmEditTextWindow::KeyInput(const KeyEvent& rKEvt) if (index != -1) { selected = selected.copy(index, sal_Int32(aSelection.nEndPos-index)); - if (selected.trim().isEmpty()) + if (o3tl::trim(selected).empty()) autoClose = true; } else @@ -336,7 +336,7 @@ bool SmEditTextWindow::KeyInput(const KeyEvent& rKEvt) else { selected = selected.copy(aSelection.nEndPos); - if (selected.trim().isEmpty()) + if (o3tl::trim(selected).empty()) autoClose = true; } } |