[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Niklas Johansson sleeping.pillow at gmail.com
Fri Apr 11 19:09:37 PDT 2014


 sc/source/filter/xml/xmlexprt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c070fe636d75b74874c5e93f5cd5d19bd7af7e6d
Author: Niklas Johansson <sleeping.pillow at gmail.com>
Date:   Fri Apr 11 13:07:09 2014 +0200

    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 at kohei.us>
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>
    (cherry picked from commit cf1d4c02c14772824a7149957fa119c6e290640b)
    
    Signed-off-by: Kohei Yoshida <kohei.yoshida at collabora.com>

diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index d5c025d..c2ab4b2 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -836,7 +836,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 );
             }
         }


More information about the Libreoffice-commits mailing list