https://issues.apache.org/ooo/show_bug.cgi?id=121231

Armin Le Grand <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |g                           |

--- Comment #10 from Armin Le Grand <[email protected]> ---
ALG: Grepping. Some (self-)comments: #118840# made data to be contained by
detecting the calc model used as temporary since these also have 'Sheet1' as
name of first sheet, thus avoiding copying/including local data. This could be
replaced/fixed different by:

ScTransferObj::SetDrawClipDoc:

        ScDocument* pDoc = (*ScGlobal::pDrawClipDocShellRef)->GetDocument();
        SCTAB aTableCount(pDoc->GetTableCount());
        String
aString(String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("_temporary_")));
        pDoc->RenameTab(0, aString);

Thus would guarantee the 1st sheet of a temporary ScDocument to have an
alternative name, older fix may be removed. Checked, but still does not save
the original data ranges; I need to follow where these will stay in the further
processing.
To allow re-defining the chart to have a range, a start point is
ControllerCommandDispatch::updateCommandAvailability in chart2,
".uno:DataRanges" (l610) should beindependent from
m_apModelState->bHasOwnData...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to