summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2014-04-11 13:07:09 +0200
committerKohei Yoshida <libreoffice@kohei.us>2014-04-12 02:05:45 +0000
commitcf1d4c02c14772824a7149957fa119c6e290640b (patch)
tree3cb4118e3230c92150917063e538e80968808e9d /sc
parentf9cc0daec26016722bf5260e4e2634e6dcfe25a2 (diff)
fdo#76961 - Calc link auto-update interval is changed on file save
The commit fa0fe19e89ba68a6b02cbdd5eff6bc161024c53d accidentaly made the external links auto-update interval save seconds as milliseconds. This patch fixes the problem at least on Mac and Windows where I tested it. I also did a successful build on Fedora 20 with this patch that works as expected. Change-Id: Ia10d12fb678004a686a4eaa65e9e12f09378a440 Reviewed-on: https://gerrit.libreoffice.org/8934 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index bce3c190d1ed..a928a08a2c11 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -840,7 +840,7 @@ void ScXMLExport::GetAreaLinks( ScMyAreaLinksContainer& rAreaLinks )
aAreaLink.sFilter = pLink->GetFilter();
aAreaLink.sFilterOptions = pLink->GetOptions();
aAreaLink.sURL = pLink->GetFile();
- aAreaLink.nRefresh = pLink->GetTimeout();
+ aAreaLink.nRefresh = pLink->GetRefreshDelay();
rAreaLinks.AddNewAreaLink( aAreaLink );
}
}