Kaydet (Commit) 8a629c1f authored tarafından Noel Grandin's avatar Noel Grandin

remove unused DocTreeNode::NodeType::Invalid

Change-Id: I68dde9c81ac73875382cd09bf342340b6c144ee8
Reviewed-on: https://gerrit.libreoffice.org/63935
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 9afa992b
...@@ -1232,8 +1232,6 @@ slideshow/source/engine/slideview.cxx:249 ...@@ -1232,8 +1232,6 @@ slideshow/source/engine/slideview.cxx:249
enum slideshow::internal::(anonymous namespace)::LayerSpriteContainer::(anonymous at /home/noel/libo2/slideshow/source/engine/slideview.cxx:249:5) SPRITE_ULLAGE enum slideshow::internal::(anonymous namespace)::LayerSpriteContainer::(anonymous at /home/noel/libo2/slideshow/source/engine/slideview.cxx:249:5) SPRITE_ULLAGE
slideshow/source/engine/slideview.cxx:729 slideshow/source/engine/slideview.cxx:729
enum slideshow::internal::(anonymous namespace)::SlideView::(anonymous at /home/noel/libo2/slideshow/source/engine/slideview.cxx:729:5) LAYER_ULLAGE enum slideshow::internal::(anonymous namespace)::SlideView::(anonymous at /home/noel/libo2/slideshow/source/engine/slideview.cxx:729:5) LAYER_ULLAGE
slideshow/source/inc/doctreenode.hxx:52
enum slideshow::internal::DocTreeNode::NodeType Invalid
soltools/cpp/cpp.h:42 soltools/cpp/cpp.h:42
int WS int WS
svgio/inc/svgstyleattributes.hxx:62 svgio/inc/svgstyleattributes.hxx:62
......
...@@ -604,8 +604,6 @@ namespace slideshow ...@@ -604,8 +604,6 @@ namespace slideshow
{ {
switch( eNodeType ) switch( eNodeType )
{ {
case DocTreeNode::NodeType::Invalid:
// FALLTHROUGH intended
default: default:
SAL_WARN( "slideshow", "DrawShapeSubsetting::mapDocTreeNode(): unexpected node type"); SAL_WARN( "slideshow", "DrawShapeSubsetting::mapDocTreeNode(): unexpected node type");
return DrawShapeSubsetting::CLASS_NOOP; return DrawShapeSubsetting::CLASS_NOOP;
......
...@@ -49,8 +49,6 @@ namespace slideshow ...@@ -49,8 +49,6 @@ namespace slideshow
/// Type of shape entity represented by this node /// Type of shape entity represented by this node
enum class NodeType enum class NodeType
{ {
Invalid=0,
/// This node represents a paragraph /// This node represents a paragraph
LogicalParagraph=129, LogicalParagraph=129,
/// This node represents a word /// This node represents a word
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment