summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-22 15:18:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-24 16:49:45 +0100
commit8a629c1f9b143e6222c4711c4d296f5f51b3485d (patch)
treefa84898ab038184dd98c89f00e6475105b9e5e63 /slideshow
parent9afa992b34fbe9285398c6ec88e94d961da4094e (diff)
remove unused DocTreeNode::NodeType::Invalid
Change-Id: I68dde9c81ac73875382cd09bf342340b6c144ee8 Reviewed-on: https://gerrit.libreoffice.org/63935 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/drawshapesubsetting.cxx2
-rw-r--r--slideshow/source/inc/doctreenode.hxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/slideshow/source/engine/shapes/drawshapesubsetting.cxx b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
index c7c9954316c1..5a0193e71928 100644
--- a/slideshow/source/engine/shapes/drawshapesubsetting.cxx
+++ b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
@@ -604,8 +604,6 @@ namespace slideshow
{
switch( eNodeType )
{
- case DocTreeNode::NodeType::Invalid:
- // FALLTHROUGH intended
default:
SAL_WARN( "slideshow", "DrawShapeSubsetting::mapDocTreeNode(): unexpected node type");
return DrawShapeSubsetting::CLASS_NOOP;
diff --git a/slideshow/source/inc/doctreenode.hxx b/slideshow/source/inc/doctreenode.hxx
index 008979651b8a..1bb4beda5ec9 100644
--- a/slideshow/source/inc/doctreenode.hxx
+++ b/slideshow/source/inc/doctreenode.hxx
@@ -49,8 +49,6 @@ namespace slideshow
/// Type of shape entity represented by this node
enum class NodeType
{
- Invalid=0,
-
/// This node represents a paragraph
LogicalParagraph=129,
/// This node represents a word