[Libreoffice-commits] core.git: sc/inc sc/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 23 18:15:43 UTC 2020
sc/inc/externalrefmgr.hxx | 2 +-
sc/source/ui/docshell/externalrefmgr.cxx | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit bd6af4f36af2d8e855a45db96aa2006710739cad
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 22 18:43:23 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 23 20:15:02 2020 +0200
Fix typo in code
Change-Id: I23faddfd329a36f8bfb668554e8f06b41e9cb4f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101202
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index 368ceb4385fd..6a3f348dfd1e 100644
--- a/sc/inc/externalrefmgr.hxx
+++ b/sc/inc/externalrefmgr.hxx
@@ -64,7 +64,7 @@ public:
const OUString& rMimeType, const css::uno::Any & rValue) override;
virtual void Edit(weld::Window* pParent, const Link<SvBaseLink&,void>& rEndEditHdl) override;
- void SetDoReferesh(bool b);
+ void SetDoRefresh(bool b);
private:
ScExternalRefLink() = delete;
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx
index c4391e553cbf..305035304257 100644
--- a/sc/source/ui/docshell/externalrefmgr.cxx
+++ b/sc/source/ui/docshell/externalrefmgr.cxx
@@ -1468,7 +1468,7 @@ void ScExternalRefLink::Edit(weld::Window* pParent, const Link<SvBaseLink&,void>
SvBaseLink::Edit(pParent, Link<SvBaseLink&,void>());
}
-void ScExternalRefLink::SetDoReferesh(bool b)
+void ScExternalRefLink::SetDoRefresh(bool b)
{
mbDoRefresh = b;
}
@@ -2625,9 +2625,9 @@ void ScExternalRefManager::maybeLinkExternalFile( sal_uInt16 nFileId, bool bDefe
pLinkMgr->InsertFileLink(*pLink, sfx2::SvBaseLinkObjectType::ClientFile, *pFileName,
(aFilter.isEmpty() && bDeferFilterDetection ? nullptr : &aFilter));
- pLink->SetDoReferesh(false);
+ pLink->SetDoRefresh(false);
pLink->Update();
- pLink->SetDoReferesh(true);
+ pLink->SetDoRefresh(true);
maLinkedDocs.emplace(nFileId, true);
}
More information about the Libreoffice-commits
mailing list