summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-31 10:18:04 +0100
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-02-04 18:51:15 +0000
commit3270fc628b2e6a8f73ff0d1e4389d9c7595e0a50 (patch)
tree591395ff88d304a852dba86b7dcaaf93b3f2c125 /dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
parent71ca001ae1621a0a48fb7377c2afd3697e2a2203 (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.cxx4
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;