diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2009-07-20 13:45:36 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2009-07-20 13:45:36 -0400 |
commit | 86759e09b760ff434408bd5538838e21985b1973 (patch) | |
tree | 5323b7601343b2afd395e8a007a9e5636ed3fe05 | |
parent | bc75b2d57c0fb8187c908c4e4839cc03e3d0fc16 (diff) |
Set document modified when switching external link source.
See i#103598 for more details.
* patches/dev300/apply:
* patches/dev300/calc-external-ref-modify-link-modified.diff:
-rw-r--r-- | patches/dev300/apply | 3 | ||||
-rw-r--r-- | patches/dev300/calc-external-ref-modify-link-modified.diff | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/patches/dev300/apply b/patches/dev300/apply index 7837fe0e2..7817dfffe 100644 --- a/patches/dev300/apply +++ b/patches/dev300/apply @@ -3181,6 +3181,9 @@ calc-dirty-cells-after-load-fix.diff, n#491898, kohei # fix incorrect URI path generation for external references. calc-external-ref-path-fix.diff, i#103347, kohei +# set document modified when switching external link source. +calc-external-ref-modify-link-modified.diff, i#103598, kohei + # fix incorrect import of hyperlink texts in presence of single quotes in sheet name. calc-xls-hyperlink-single-quote-fix.diff, n#521447, kohei diff --git a/patches/dev300/calc-external-ref-modify-link-modified.diff b/patches/dev300/calc-external-ref-modify-link-modified.diff new file mode 100644 index 000000000..85504139b --- /dev/null +++ b/patches/dev300/calc-external-ref-modify-link-modified.diff @@ -0,0 +1,12 @@ +diff --git sc/source/ui/docshell/externalrefmgr.cxx sc/source/ui/docshell/externalrefmgr.cxx +index b831e93..749695b 100644 +--- sc/source/ui/docshell/externalrefmgr.cxx ++++ sc/source/ui/docshell/externalrefmgr.cxx +@@ -991,6 +991,7 @@ void ScExternalRefLink::DataChanged(const String& /*rMimeType*/, const Any& /*rV + // The source document has changed. + pMgr->switchSrcFile(mnFileId, aFile, aFilter); + maFilterName = aFilter; ++ mpDoc->GetDocumentShell()->SetModified(); + } + } + |