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 65c351f50e
commit 146a72b331

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.