summaryrefslogtreecommitdiff
path: root/forms/source/component/EditBase.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/EditBase.cxx
parent60b7f09ed5980248c8f3088adf80380d02d66358 (diff)
Fix for fdo43460 Part XVIII getLength() to isEmpty()
Part XVIII module form
Diffstat (limited to 'forms/source/component/EditBase.cxx')
-rw-r--r--forms/source/component/EditBase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/EditBase.cxx b/forms/source/component/EditBase.cxx
index 82788f9135ac..4b61b5560c94 100644
--- a/forms/source/component/EditBase.cxx
+++ b/forms/source/component/EditBase.cxx
@@ -190,7 +190,7 @@ void OEditBaseModel::read(const Reference<XObjectInputStream>& _rxInStream) thro
readCommonEditProperties(_rxInStream);
// Nach dem Lesen die Defaultwerte anzeigen
- if ( getControlSource().getLength() )
+ if ( !getControlSource().isEmpty() )
// (not if we don't have a control source - the "State" property acts like it is persistent, then)
resetNoBroadcast();
};