summaryrefslogtreecommitdiff
path: root/svx/source/form/fmview.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-14 12:10:39 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-14 12:11:48 -0200
commitdc04d67e94d9302278fc049d6617b62fe461ac66 (patch)
tree3dc4e0e5ee4406483cc1bc8c7bb690a1b2c6efe9 /svx/source/form/fmview.cxx
parentc447d9ba8c7d40670c59a9ec9d45f32a36c1efcd (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.cxx2
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;