diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 15:52:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 08:33:37 +0200 |
commit | 0102b85e4e2506299e034e623b75f9400450eb90 (patch) | |
tree | 6ff58b2410ad85b33ebba8b283610fd5fa092b87 /slideshow/source/engine/slide/slideimpl.cxx | |
parent | 602a07e110df440a02692b607b6fc08ddfb074d5 (diff) |
convert DocTreeNode::NodeType to scoped enum
and drop unused enumerators
Change-Id: I0b9220cc2a70847ee43b63accec5bede3dbb99fa
Diffstat (limited to 'slideshow/source/engine/slide/slideimpl.cxx')
-rw-r--r-- | slideshow/source/engine/slide/slideimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) { |