summaryrefslogtreecommitdiff
path: root/editeng/source/outliner/outleeng.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-27 11:49:51 +0200
committerNoel Grandin <noel@peralex.com>2015-03-02 08:59:18 +0200
commitd8bb694c831d37cb4344e3352fe08e2919a7cdc1 (patch)
tree21c56aa8c401b7741e0321f7a06e9b45ac3d59e1 /editeng/source/outliner/outleeng.cxx
parente9beb264709a8d4a240bb66f6c1ee95658bab4c2 (diff)
convert PARAFLAG_ constants to enum class
Change-Id: I71f5ea8e91fe0f50a471e33e4e2c02840a76b707
Diffstat (limited to 'editeng/source/outliner/outleeng.cxx')
-rw-r--r--editeng/source/outliner/outleeng.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/outliner/outleeng.cxx b/editeng/source/outliner/outleeng.cxx
index 55257542279b..3b1c160b3bae 100644
--- a/editeng/source/outliner/outleeng.cxx
+++ b/editeng/source/outliner/outleeng.cxx
@@ -94,9 +94,9 @@ void OutlinerEditEng::ParagraphConnected( sal_Int32 /*nLeftParagraph*/, sal_Int3
if( pOwner && pOwner->IsUndoEnabled() && !const_cast<EditEngine&>(pOwner->GetEditEngine()).IsInUndo() )
{
Paragraph* pPara = pOwner->GetParagraph( nRightParagraph );
- if( pPara && pOwner->HasParaFlag( pPara, PARAFLAG_ISPAGE ) )
+ if( pPara && pOwner->HasParaFlag( pPara, ParaFlag::ISPAGE ) )
{
- pOwner->InsertUndo( new OutlinerUndoChangeParaFlags( pOwner, nRightParagraph, PARAFLAG_ISPAGE, 0 ) );
+ pOwner->InsertUndo( new OutlinerUndoChangeParaFlags( pOwner, nRightParagraph, ParaFlag::ISPAGE, ParaFlag::NONE ) );
}
}
}