sw/source/uibase/wrtsh/move.cxx |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit f0147cebdefa0cb8bd993c199b0ab290bcec95b7
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Mon Jun 2 08:37:32 2025 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Mon Jun 2 10:06:04 2025 +0200

    sw: prefix members of ShellMoveCursor
    
    See tdf#94879 for motivation.
    
    Change-Id: Ic307254418b7a12cad2ebfee2e58e2293583d7ec
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186122
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/source/uibase/wrtsh/move.cxx b/sw/source/uibase/wrtsh/move.cxx
index 7cdd9e3514f5..37fc010d1397 100644
--- a/sw/source/uibase/wrtsh/move.cxx
+++ b/sw/source/uibase/wrtsh/move.cxx
@@ -47,24 +47,24 @@ namespace {
 
 class ShellMoveCursor
 {
-    SwWrtShell* pSh;
-    bool bAct;
+    SwWrtShell* m_pSh;
+    bool m_bAct;
 public:
     ShellMoveCursor( SwWrtShell* pWrtSh, bool bSel )
     {
-        bAct = !pWrtSh->ActionPend() && (pWrtSh->GetFrameType(nullptr,false) & 
FrameTypeFlags::FLY_ANY);
-        pSh = pWrtSh;
-        pSh->MoveCursor( bSel );
+        m_bAct = !pWrtSh->ActionPend() && (pWrtSh->GetFrameType(nullptr,false) 
& FrameTypeFlags::FLY_ANY);
+        m_pSh = pWrtSh;
+        m_pSh->MoveCursor( bSel );
         
pWrtSh->GetView().GetViewFrame().GetBindings().Invalidate(SID_HYPERLINK_GETLINK);
     }
     ~ShellMoveCursor() COVERITY_NOEXCEPT_FALSE
     {
-        if( bAct )
+        if( m_bAct )
         {
             // The action is used for scrolling in "single paragraph"
             // frames with fixed height.
-            pSh->StartAllAction();
-            pSh->EndAllAction();
+            m_pSh->StartAllAction();
+            m_pSh->EndAllAction();
         }
     }
 };

Reply via email to