Kaydet (Commit) 5e0b52c1 authored tarafından Caolán McNamara's avatar Caolán McNamara

some more ConstAsciiString behind OSL_ENSURE

Change-Id: Ic93ec84ce62234364d233a9188a65439e88a79fe
üst 5e3a4ecb
......@@ -993,8 +993,8 @@ namespace xmloff
{
// we have exactly 2 properties where this type class is allowed:
OSL_ENSURE(
(0 == _rPropValue.Name.compareToAscii(PROPERTY_EFFECTIVE_VALUE))
|| (0 == _rPropValue.Name.compareToAscii(PROPERTY_EFFECTIVE_DEFAULT)),
(0 == _rPropValue.Name.equalsAsciiL(PROPERTY_EFFECTIVE_VALUE.ascii, PROPERTY_EFFECTIVE_VALUE.length))
|| (0 == _rPropValue.Name.equalsAsciiL(PROPERTY_EFFECTIVE_DEFAULT.ascii, PROPERTY_EFFECTIVE_DEFAULT.length)),
"OControlImport::implTranslateValueProperty: invalid property type/name combination!");
// Both properties are allowed to have a double or a string value,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment