summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/browser/sbagrid.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-19 18:10:37 -0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-12-21 09:52:48 +0100
commit545921f914ec172bcd6712cce54847131a49afb6 (patch)
tree92dde2ebc7c4d70240e4967b11526e73fef10b16 /dbaccess/source/ui/browser/sbagrid.cxx
parentFix for fdo43460 Part XIII getLength() to isEmpty() (diff)
downloadcore-545921f914ec172bcd6712cce54847131a49afb6.tar.gz
core-545921f914ec172bcd6712cce54847131a49afb6.zip
Fix for fdo43460 Part XII getLength() to isEmpty()
Part XII Module dbaccess
Diffstat (limited to 'dbaccess/source/ui/browser/sbagrid.cxx')
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 4f8eb3c20a99..9d3a539ab8d6 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -1281,7 +1281,7 @@ void SbaGridControl::DoColumnDrag(sal_uInt16 nColumnPos)
{
OSL_FAIL("SbaGridControl::DoColumnDrag : something went wrong while getting the column");
}
- if (0 == sField.getLength())
+ if (sField.isEmpty())
return;
OColumnTransferable* pDataTransfer = new OColumnTransferable(xDataSource, sField, xAffectedField, xActiveConnection, CTF_FIELD_DESCRIPTOR | CTF_COLUMN_DESCRIPTOR);