diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2009-09-03 21:54:32 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2009-09-03 21:54:32 -0400 |
commit | 3db13d25ca7c79cbc53ecba722453571451b96e9 (patch) | |
tree | 442c49f785f795b31d62d3f64d355dfc819a5905 | |
parent | 406566e75bc157fa4fcc6c47132badc618c606df (diff) |
#i103598# fixed it so that when an external link changes it would set a modified flag to the document.
-rw-r--r-- | sc/source/ui/docshell/externalrefmgr.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index 9cc0b274028e..b3c837d030f3 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -1045,8 +1045,11 @@ void ScExternalRefLink::DataChanged(const String& /*rMimeType*/, const Any& /*rV else { // The source document has changed. + ScDocShell* pDocShell = ScDocShell::GetViewData()->GetDocShell(); + ScDocShellModificator aMod(*pDocShell); pMgr->switchSrcFile(mnFileId, aFile); maFilterName = aFilter; + aMod.SetDocumentModified(); } } |