{
}
-bool ClearCommand::hasHintText(UiObject *obj)
+bool ClearCommand::hasHintText(std::shared_ptr<UiObject> obj)
{
if (!obj) return false;
{
LOG_SCOPE_F(INFO, "Clear --------------- ");
ObjectMapper* mObjMap = ObjectMapper::getInstance();
- UiObject* obj = mObjMap->getElement(mRequest->elementid());
+ std::shared_ptr<UiObject> obj = mObjMap->getElement(mRequest->elementid());
if (obj) {
obj->setText("");