This is an automated email from the ASF dual-hosted git repository. ardovm pushed a commit to branch AOO41X in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit f92f29d1ba56cf8c41c6a14c4ed35e0854c54c64 Author: Arrigo Marchiori <ard...@yahoo.it> AuthorDate: Sun Jun 4 21:24:24 2023 +0200 Make method sfx2::LinkManager::GetUserAllowsLinkUpdate public (cherry picked from commit 423bdb17d86ae76489e1a7c7a6e74f109583b88a) --- 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 8095e6bbbb..bbfc311fbe 100644 --- a/main/sfx2/inc/sfx2/linkmgr.hxx +++ b/main/sfx2/inc/sfx2/linkmgr.hxx @@ -60,7 +60,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, @@ -112,6 +111,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();