DOM: Partial DOM match is no longer an error

This commit is contained in:
Paul Beckingham 2017-02-27 07:46:54 -05:00
parent 243067e2ae
commit 06dc1f6c42

View file

@ -136,8 +136,8 @@ bool getDOM (const std::string& name, Variant& value)
: context.getHeight ())); : context.getHeight ()));
return true; return true;
} }
else
throw format (STRING_DOM_UNREC, name); return false;
} }
// context.* // context.*
@ -177,8 +177,8 @@ bool getDOM (const std::string& name, Variant& value)
: context.getHeight ())); : context.getHeight ()));
return true; return true;
} }
else
throw format (STRING_DOM_UNREC, name); return false;
} }
// system. --> Implement locally. // system. --> Implement locally.
@ -198,8 +198,8 @@ bool getDOM (const std::string& name, Variant& value)
value = Variant (osName ()); value = Variant (osName ());
return true; return true;
} }
else
throw format (STRING_DOM_UNREC, name); return false;
} }
// Empty string if nothing is found. // Empty string if nothing is found.