summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/formcellbinding.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms/formcellbinding.cxx')
-rw-r--r--xmloff/source/forms/formcellbinding.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/forms/formcellbinding.cxx b/xmloff/source/forms/formcellbinding.cxx
index 568f3ea32f85..335fc7cc9ec9 100644
--- a/xmloff/source/forms/formcellbinding.cxx
+++ b/xmloff/source/forms/formcellbinding.cxx
@@ -171,7 +171,7 @@ Reference< XValueBinding > FormCellBindingHelper::createCellBindingFromStringAdd
// get the UNO representation of the address
CellAddress aAddress;
- if ( !_rAddress.getLength() || !convertStringAddress( _rAddress, aAddress ) )
+ if ( _rAddress.isEmpty() || !convertStringAddress( _rAddress, aAddress ) )
return xBinding;
xBinding = xBinding.query( createDocumentDependentInstance(
@@ -428,7 +428,7 @@ Reference< XInterface > FormCellBindingHelper::createDocumentDependentInstance(
{
try
{
- if ( _rArgumentName.getLength() )
+ if ( !_rArgumentName.isEmpty() )
{
NamedValue aArg;
aArg.Name = _rArgumentName;