diff options
Diffstat (limited to 'sw/source/core/undo/undobj.cxx')
-rw-r--r-- | sw/source/core/undo/undobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx index 40c7131895eb..449479da46e9 100644 --- a/sw/source/core/undo/undobj.cxx +++ b/sw/source/core/undo/undobj.cxx @@ -1255,7 +1255,7 @@ void SwUndoSaveSection::RestoreSection( SwDoc* pDoc, SwNodeIndex* pIdx, // move the content from UndoNodes array into Fly SwStartNode* pSttNd = SwNodes::MakeEmptySection( aSttIdx, - (SwStartNodeType)nSectType ); + static_cast<SwStartNodeType>(nSectType) ); RestoreSection( pDoc, SwNodeIndex( *pSttNd->EndOfSectionNode() )); |