mirror of
https://gitee.com/openharmony/distributeddatamgr_pasteboard
synced 2024-11-27 01:52:01 +00:00
fix js bug
Signed-off-by: wanghuajian <wanghuajian3@huawei.com>
This commit is contained in:
parent
f7eb6c939c
commit
553afaa8b6
@ -71,7 +71,7 @@ std::shared_ptr<UnifiedRecord> ConvertUtils::Convert(std::shared_ptr<PasteDataRe
|
||||
PASTEBOARD_HILOGW(PASTEBOARD_MODULE_CLIENT, "entries is nullptr");
|
||||
auto udmfValue = record->GetUDMFValue();
|
||||
if (udmfValue) {
|
||||
udmfRecord->AddEntry(CommonUtils::Convert2UtdId(record->GetUDType(), record->GetMimeType()),
|
||||
udmfRecord->AddEntry(CommonUtils::Convert2UtdId(record->GetUDType(), record->GetMimeType()),
|
||||
std::move(*udmfValue));
|
||||
}
|
||||
return udmfRecord;
|
||||
|
Loading…
Reference in New Issue
Block a user