diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-02 20:52:15 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-09-03 00:09:05 +0200 |
commit | f0744793c85f6305201f5122d5a4376eb6df9ae6 (patch) | |
tree | 93fd9da4b4a7a52609c36c09dce119b1aa822dba /sc | |
parent | 0347ba13460fdd33ca77efa53457ee66651f189b (diff) |
comment a nice-to-have idea
Change-Id: If03dba2fa7394ec898cb6d87e06bc85171319fcd
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 560ba3ea6264..84dff202b936 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -3069,6 +3069,10 @@ ScDocShellModificator::~ScDocShellModificator() ScDocument& rDoc = rDocShell.GetDocument(); if (!maContentModified.empty() && !rDoc.IsImportingXML()) { + /* TODO: it would be nice to join a pending list with the next + * instance further down in the stack so that only the last one + * popped actually does the work. For that we'd need a parent or keep a + * master list at ScDocShell. */ for (size_t i=0, n = maContentModified.size(); i < n; ++i) { const ScRange* p = maContentModified[i]; |