minor code change (setError) to expose field 5 to whomever is using the low

level apis.  (I needed it for something)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352892 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew C. Oliver 2002-10-09 19:47:10 +00:00
parent 4805961e1a
commit b766ee6991
1 changed files with 7 additions and 0 deletions

View File

@ -235,6 +235,13 @@ public class BoolErrRecord
return (field_5_fError == ( byte ) 0);
}
/**
* manually indicate this is an error rather than a boolean
*/
public void setError(boolean val) {
field_5_fError = (byte) (val == false ? 0 : 1);
}
/**
* Indicates whether the call holds an error value
*