summaryrefslogtreecommitdiff
path: root/forms/source/component/Currency.cxx
diff options
context:
space:
mode:
authorGustavo Buzzatti Pacheco <gbpacheco@gmail.com>2011-12-26 15:08:46 -0200
committerJan Holesovsky <kendy@suse.cz>2011-12-30 11:36:01 +0100
commit6cfae09e5dafa477db210272949e253d4fb24349 (patch)
tree04f24fc194e1f711228296f7f3f16b98fd489637 /forms/source/component/Currency.cxx
parent60b7f09ed5980248c8f3088adf80380d02d66358 (diff)
Fix for fdo43460 Part XVIII getLength() to isEmpty()
Part XVIII module form
Diffstat (limited to 'forms/source/component/Currency.cxx')
-rw-r--r--forms/source/component/Currency.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx
index 180c98556abe..08df529e57f5 100644
--- a/forms/source/component/Currency.cxx
+++ b/forms/source/component/Currency.cxx
@@ -127,7 +127,7 @@ void OCurrencyModel::implConstruct()
bPrependCurrencySymbol = sal_False;
break;
}
- if (sCurrencySymbol.getLength())
+ if (!sCurrencySymbol.isEmpty())
{
m_xAggregateSet->setPropertyValue(PROPERTY_CURRENCYSYMBOL, makeAny(sCurrencySymbol));
m_xAggregateSet->setPropertyValue(PROPERTY_CURRSYM_POSITION, makeAny(bPrependCurrencySymbol));