Kaydet (Commit) 6ca332cd authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1212487 try and silence Copy-paste error

Change-Id: Ib0b1b997b95a40c86d446cfee681982bb475b7e9
üst b2922c99
...@@ -2015,8 +2015,8 @@ bool SwCrsrShell::Pop( bool bOldCrsr ) ...@@ -2015,8 +2015,8 @@ bool SwCrsrShell::Pop( bool bOldCrsr )
SwCrsrSaveState aSaveState( *m_pCurCrsr ); SwCrsrSaveState aSaveState( *m_pCurCrsr );
// If the visible SSelection was not changed // If the visible SSelection was not changed
if( pOldStk->GetPtPos() == m_pCurCrsr->GetPtPos() || const Point& rPoint = pOldStk->GetPtPos();
pOldStk->GetPtPos() == m_pCurCrsr->GetMkPos() ) if (rPoint == m_pCurCrsr->GetPtPos() || rPoint == m_pCurCrsr->GetMkPos())
{ {
// move "Selections Rectangles" // move "Selections Rectangles"
m_pCurCrsr->insert( m_pCurCrsr->begin(), pOldStk->begin(), pOldStk->end() ); m_pCurCrsr->insert( m_pCurCrsr->begin(), pOldStk->begin(), pOldStk->end() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment