Forgot to reset shared formula option during conversion
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437128 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
76a2ebcf6e
commit
6e9b265462
@ -201,6 +201,10 @@ public class FormulaRecord
|
||||
return sharedFormula.isSet(field_5_options);
|
||||
}
|
||||
|
||||
public void setSharedFormula(boolean flag) {
|
||||
sharedFormula.setBoolean(field_5_options, flag);
|
||||
}
|
||||
|
||||
/**
|
||||
* get the length (in number of tokens) of the expression
|
||||
* @return expression length
|
||||
|
@ -254,6 +254,8 @@ public class SharedFormulaRecord
|
||||
newPtgStack.add(ptg);
|
||||
}
|
||||
formula.setParsedExpression(newPtgStack);
|
||||
//Now its not shared!
|
||||
formula.setSharedFormula(false);
|
||||
} else {
|
||||
throw new RuntimeException("Shared Formula Conversion: Coding Error");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user