From 0102b85e4e2506299e034e623b75f9400450eb90 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 14 Feb 2017 15:52:53 +0200 Subject: convert DocTreeNode::NodeType to scoped enum and drop unused enumerators Change-Id: I0b9220cc2a70847ee43b63accec5bede3dbb99fa --- slideshow/source/engine/slide/slideimpl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slideshow/source/engine/slide') diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx index 49e1aba38770..a5ed1e2f9391 100644 --- a/slideshow/source/engine/slide/slideimpl.cxx +++ b/slideshow/source/engine/slide/slideimpl.cxx @@ -905,7 +905,7 @@ void SlideImpl::applyShapeAttributes( const DocTreeNodeSupplier& rNodeSupplier( pAttrShape->getTreeNodeSupplier() ); if( rNodeSupplier.getNumberOfTreeNodes( - DocTreeNode::NODETYPE_LOGICAL_PARAGRAPH ) <= nParaIndex ) + DocTreeNode::NodeType::LogicalParagraph ) <= nParaIndex ) { OSL_FAIL( "SlideImpl::applyInitialShapeAttributes(): shape found does not " "provide a subset for requested paragraph index" ); @@ -915,7 +915,7 @@ void SlideImpl::applyShapeAttributes( pAttrShape = pAttrShape->getSubset( rNodeSupplier.getTreeNode( nParaIndex, - DocTreeNode::NODETYPE_LOGICAL_PARAGRAPH ) ); + DocTreeNode::NodeType::LogicalParagraph ) ); if( !pAttrShape ) { -- cgit