[Libreoffice-commits] core.git: sw/inc sw/source

Julien Nabet serval2412 at yahoo.fr
Sat Jan 7 10:17:55 UTC 2017


 sw/inc/crstate.hxx              |    6 +++---
 sw/source/core/crsr/crstrvl.cxx |    2 +-
 sw/source/core/text/itrcrsr.cxx |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 776aec70ba22b4a658b3b7abb5660c809129f54b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Jan 7 08:46:38 2017 +0100

    Typo: Postion->Portion
    
    Found thanks to Buovjaga
    
    Change-Id: I8859cbec896c4019a5137d801f753ad87287a369
    Reviewed-on: https://gerrit.libreoffice.org/32809
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/inc/crstate.hxx b/sw/inc/crstate.hxx
index 4d59782..8c361dee 100644
--- a/sw/inc/crstate.hxx
+++ b/sw/inc/crstate.hxx
@@ -158,7 +158,7 @@ struct SwCursorMoveState
      */
     bool m_bInFrontOfLabel;
     bool m_bInNumPortion;         ///< point is in number portion #i23726#
-    int m_nInNumPostionOffset;        ///< distance from number portion's start
+    int m_nInNumPortionOffset;        ///< distance from number portion's start
 
     SwCursorMoveState( CursorMoveState eSt = MV_NONE ) :
         m_pFill( nullptr ),
@@ -181,7 +181,7 @@ struct SwCursorMoveState
         m_bContentCheck( false ), // #i43742#
         m_bInFrontOfLabel( false ), // #i27615#
         m_bInNumPortion(false), // #i26726#
-        m_nInNumPostionOffset(0) // #i26726#
+        m_nInNumPortionOffset(0) // #i26726#
     {}
     SwCursorMoveState( SwFillCursorPos *pInitFill ) :
         m_pFill( pInitFill ),
@@ -204,7 +204,7 @@ struct SwCursorMoveState
         m_bContentCheck( false ), // #i43742#
         m_bInFrontOfLabel( false ), // #i27615#
         m_bInNumPortion(false), // #i23726#
-        m_nInNumPostionOffset(0) // #i23726#
+        m_nInNumPortionOffset(0) // #i23726#
     {}
 };
 
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx
index e171b23..4424cf4 100644
--- a/sw/source/core/crsr/crstrvl.cxx
+++ b/sw/source/core/crsr/crstrvl.cxx
@@ -1167,7 +1167,7 @@ bool SwCursorShell::GetContentAtPos( const Point& rPt,
             bRet = aTmpState.m_bInNumPortion;
             rContentAtPos.aFnd.pNode = pTextNd;
 
-            Size aSizeLogic(aTmpState.m_nInNumPostionOffset, 0);
+            Size aSizeLogic(aTmpState.m_nInNumPortionOffset, 0);
             Size aSizePixel = GetWin()->LogicToPixel(aSizeLogic);
             rContentAtPos.nDist = aSizePixel.Width();
         }
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index 295006e..293cdfd 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -1433,7 +1433,7 @@ sal_Int32 SwTextCursor::GetCursorOfst( SwPosition *pPos, const Point &rPoint,
                     pCMS->m_bFootnoteNoInfo = true;
                 else if (pPor->InNumberGrp() ) // #i23726#
                 {
-                    pCMS->m_nInNumPostionOffset = nX;
+                    pCMS->m_nInNumPortionOffset = nX;
                     pCMS->m_bInNumPortion = true;
                 }
             }


More information about the Libreoffice-commits mailing list