This is an automated email from the ASF dual-hosted git repository. ardovm pushed a commit to branch links in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 423bdb17d86ae76489e1a7c7a6e74f109583b88a Author: Arrigo Marchiori <ard...@yahoo.it> AuthorDate: Sun Jun 4 21:24:24 2023 +0200 Make method sfx2::LinkManager::GetUserAllowsLinkUpdate public --- main/sfx2/inc/sfx2/linkmgr.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/sfx2/inc/sfx2/linkmgr.hxx b/main/sfx2/inc/sfx2/linkmgr.hxx index faef316243..f638aeeca8 100644 --- a/main/sfx2/inc/sfx2/linkmgr.hxx +++ b/main/sfx2/inc/sfx2/linkmgr.hxx @@ -59,7 +59,6 @@ class SFX2_DLLPUBLIC LinkManager sal_Bool mUpdateAsked; sal_Bool mAllowUpdate; - sal_Bool GetUserAllowsLinkUpdate(Window *pParent); void SetUserAllowsLinkUpdate(SvBaseLink *pLink, sal_Bool allows); protected: sal_Bool InsertLink( SvBaseLink* pLink, sal_uInt16 nObjType, sal_uInt16 nUpdateType, @@ -111,6 +110,8 @@ public: SvLinkSourceRef CreateObj( SvBaseLink* ); + /// Ask (once) to allow updating links + sal_Bool GetUserAllowsLinkUpdate(Window *pParent); // Automatically ask user about update all links, on first insert void SetAutoAskUpdateAllLinks();