[ooo-build-commit] patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Jul 20 10:46:36 PDT 2009


 patches/dev300/apply                                       |    3 +++
 patches/dev300/calc-external-ref-modify-link-modified.diff |   12 ++++++++++++
 2 files changed, 15 insertions(+)

New commits:
commit 86759e09b760ff434408bd5538838e21985b1973
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Mon Jul 20 13:45:36 2009 -0400

    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:

diff --git a/patches/dev300/apply b/patches/dev300/apply
index 7837fe0..7817dff 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 0000000..8550413
--- /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();
+     }
+ }
+ 


More information about the ooo-build-commit mailing list