sw/inc/contentindex.hxx        |    1 -
 sw/source/core/crsr/crsrsh.cxx |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 18edbe1e0d96e8df029ea6ae7ec85bb26b18ab72
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Thu Sep 15 08:55:46 2022 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Thu Sep 15 09:14:15 2022 +0200

    This does not need to be friend or linked externally
    
    Change-Id: I75aaa3b211d0385c7138b531a77058e05d58f028
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139962
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/sw/inc/contentindex.hxx b/sw/inc/contentindex.hxx
index 0e2abc582116..2be6bc650879 100644
--- a/sw/inc/contentindex.hxx
+++ b/sw/inc/contentindex.hxx
@@ -116,7 +116,6 @@ SW_DLLPUBLIC std::ostream& operator <<(std::ostream& s, 
const SwContentIndex& in
 class SAL_WARN_UNUSED SwContentIndexReg
 {
     friend class SwContentIndex;
-    friend bool sw_PosOk(const SwPosition & aPos);
 
     const SwContentIndex * m_pFirst;
     const SwContentIndex * m_pLast;
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index ab5a36d11a37..a03a4c6d68de 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -3588,7 +3588,7 @@ static const SwStartNode* lcl_NodeContext( const SwNode& 
rNode )
 
    @param aPos the position to check.
 */
-bool sw_PosOk(const SwPosition & aPos)
+static bool sw_PosOk(const SwPosition & aPos)
 {
     return nullptr != aPos.GetNode().GetContentNode() &&
            aPos.GetContentNode();

Reply via email to