Kaydet (Commit) 3ee088ec authored tarafından Kohei Yoshida's avatar Kohei Yoshida

fdo#56776: Change in formula options should cause repaint.

Else Calc would fail to update the column headers due to A1 to R1C1
change (and vise versa).

Change-Id: I2c403212f5bc539aea92370e60da96f480549d6d
üst 12fa9ece
......@@ -1068,6 +1068,11 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
if (rOptSet.HasItem(SID_SCFORMULAOPTIONS, &pItem))
{
const ScFormulaOptions& rOpt = ((const ScTpFormulaItem*)pItem)->GetFormulaOptions();
if (!pFormulaCfg || (*pFormulaCfg != rOpt))
// Formula options have changed. Repaint the column headers.
bRepaint = true;
SetFormulaOptions( rOpt );
if ( pDocSh )
......
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