diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-14 12:10:39 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-14 12:11:48 -0200 |
commit | dc04d67e94d9302278fc049d6617b62fe461ac66 (patch) | |
tree | 3dc4e0e5ee4406483cc1bc8c7bb690a1b2c6efe9 /svx/source/form/fmview.cxx | |
parent | c447d9ba8c7d40670c59a9ec9d45f32a36c1efcd (diff) |
Fix for fdo43460 Part XXXVIII getLength() to isEmpty()
Part XXXVIII
Modules
svx
Diffstat (limited to 'svx/source/form/fmview.cxx')
-rw-r--r-- | svx/source/form/fmview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx index 9abf1cc3a14e..252cb5c18305 100644 --- a/svx/source/form/fmview.cxx +++ b/svx/source/form/fmview.cxx @@ -440,7 +440,7 @@ SdrObject* FmFormView::CreateFieldControl(const UniString& rFieldDesc) const sal_uInt16 nObjectType = (sal_uInt16)rFieldDesc.GetToken(2,sal_Unicode(11)).ToInt32(); ::rtl::OUString sFieldName = rFieldDesc.GetToken(3,sal_Unicode(11)); - if (!sFieldName.getLength() || !sObjectName.getLength() || !sDataSource.getLength()) + if (sFieldName.isEmpty() || sObjectName.isEmpty() || sDataSource.isEmpty()) return NULL; ODataAccessDescriptor aColumnDescriptor; |