diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-01-31 10:18:04 +0100 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-02-04 18:51:15 +0000 |
commit | 3270fc628b2e6a8f73ff0d1e4389d9c7595e0a50 (patch) | |
tree | 591395ff88d304a852dba86b7dcaaf93b3f2c125 /dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | |
parent | 71ca001ae1621a0a48fb7377c2afd3697e2a2203 (diff) |
use OUString(Buffer) in class Edit
replaced Len() with isEmpty() where appropriate
Change-Id: I5a5847d6055f376fd5f86079aa1736541d790fff
Reviewed-on: https://gerrit.libreoffice.org/1892
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Diffstat (limited to 'dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index 342a3413b281..2bfcc1f00f54 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -2501,10 +2501,10 @@ sal_Bool OSelectionBrowseBox::isCutAllowed() case BROW_FUNCTION_ROW: break; case BROW_FIELD_ROW: - bCutAllowed = m_pFieldCell->GetSelected().Len() != 0; + bCutAllowed = !m_pFieldCell->GetSelected().isEmpty(); break; default: - bCutAllowed = m_pTextCell->GetSelected().Len() != 0; + bCutAllowed = !m_pTextCell->GetSelected().isEmpty(); break; } return bCutAllowed; |