incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120628] Catch NULL property name when setPropertyValue
Date Mon, 27 Aug 2012 07:09:18 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120628

--- Comment #4 from bjcheny <companycy@gmail.com> ---
When we add new Id into enum PropertyIds from PropertyIds.hxx, it's possible to
miss addition related string in below function.
const rtl::OUString& PropertyNameSupplier::GetName( PropertyIds eId ) const;

If the string is lost, then the empty PropertyName may occur, and it's unknown
behavior to setPropertyValue. Then as defense code, it's necessary to add such
check.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message