Micro-cleanup; don't access the string data directly. load() is
inline. It additionally asserts that the string length matches.
Change-Id: Ie24df83ea68b96179792995d062db7872933b1a8
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
// Allocate default property if necessary
if (defaultProperty)
- strcpy(defPropRef.data(), "DefaultProperty");
+ defPropRef.load("DefaultProperty");
// Now allocate signals
for (Object::DynamicSignal *s = obj->dynamicSignals.first(); s; s = obj->dynamicSignals.next(s)) {