Kaydet (Commit) 3613bd09 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#738966 Unused pointer value

Change-Id: Ia18b6e6d9462a8bcd3371d04b105db67fd397cc5
üst 1122464b
...@@ -90,10 +90,6 @@ void SwUndoInsNum::UndoImpl(::sw::UndoRedoContext & rContext) ...@@ -90,10 +90,6 @@ void SwUndoInsNum::UndoImpl(::sw::UndoRedoContext & rContext)
if( nLRSavePos ) if( nLRSavePos )
{ {
// Update immediately so that potential "old" LRSpaces will be valid again. // Update immediately so that potential "old" LRSpaces will be valid again.
// For that search firstly the correct NumRule names!
if( !pNd && nSttNode )
pNd = rDoc.GetNodes()[ nSttNode ]->GetTxtNode();
pHistory->TmpRollback( &rDoc, nLRSavePos ); pHistory->TmpRollback( &rDoc, nLRSavePos );
} }
......
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