summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/drawingml/graphicshapecontext.cxx1
-rw-r--r--oox/source/drawingml/linepropertiescontext.cxx1
-rw-r--r--oox/source/drawingml/shapecontext.cxx1
-rw-r--r--oox/source/drawingml/shapepropertiescontext.cxx2
-rw-r--r--oox/source/drawingml/textbodycontext.cxx2
-rw-r--r--oox/source/vml/vmltextboxcontext.cxx2
6 files changed, 0 insertions, 9 deletions
diff --git a/oox/source/drawingml/graphicshapecontext.cxx b/oox/source/drawingml/graphicshapecontext.cxx
index eaf650c051ba..113e5490c51d 100644
--- a/oox/source/drawingml/graphicshapecontext.cxx
+++ b/oox/source/drawingml/graphicshapecontext.cxx
@@ -228,7 +228,6 @@ ContextHandlerRef OleObjectGraphicDataContext::onCreateContext( sal_Int32 nEleme
break;
case PPT_TOKEN( pic ):
return new GraphicShapeContext( *this, mpMasterShapePtr, mpShapePtr );
- break;
}
SAL_WARN("oox", "OleObjectGraphicDataContext::onCreateContext: unhandled element: "
<< getBaseToken(nElement));
diff --git a/oox/source/drawingml/linepropertiescontext.cxx b/oox/source/drawingml/linepropertiescontext.cxx
index dd9af49bf2db..322f98aad609 100644
--- a/oox/source/drawingml/linepropertiescontext.cxx
+++ b/oox/source/drawingml/linepropertiescontext.cxx
@@ -64,7 +64,6 @@ ContextHandlerRef LinePropertiesContext::onCreateContext( sal_Int32 nElement, co
break;
case A_TOKEN( custDash ): // CT_DashStopList
return this;
- break;
case A_TOKEN( ds ):
{
// 'a:ds' has 2 attributes : 'd' and 'sp'
diff --git a/oox/source/drawingml/shapecontext.cxx b/oox/source/drawingml/shapecontext.cxx
index 8d76755855c9..e0cbf9343c1d 100644
--- a/oox/source/drawingml/shapecontext.cxx
+++ b/oox/source/drawingml/shapecontext.cxx
@@ -110,7 +110,6 @@ ContextHandlerRef ShapeContext::onCreateContext( sal_Int32 aElementToken, const
if (!mpShapePtr->getTextBody())
mpShapePtr->setTextBody( std::make_shared<TextBody>() );
return new TextBodyPropertiesContext( *this, rAttribs, mpShapePtr );
- break;
case XML_txbx:
break;
case XML_cNvPicPr:
diff --git a/oox/source/drawingml/shapepropertiescontext.cxx b/oox/source/drawingml/shapepropertiescontext.cxx
index 574e0793c89a..e0fc3274c731 100644
--- a/oox/source/drawingml/shapepropertiescontext.cxx
+++ b/oox/source/drawingml/shapepropertiescontext.cxx
@@ -95,12 +95,10 @@ ContextHandlerRef ShapePropertiesContext::onCreateContext( sal_Int32 aElementTok
// todo not supported by core, only for preservation via grab bags
case A_TOKEN( scene3d ): // CT_Scene3D
return new Scene3DPropertiesContext( *this, mrShape.get3DProperties() );
- break;
// todo not supported by core, only for preservation via grab bags
case A_TOKEN( sp3d ): // CT_Shape3D
return new Shape3DPropertiesContext( *this, rAttribs, mrShape.get3DProperties() );
- break;
}
return FillPropertiesContext::createFillContext( *this, aElementToken, rAttribs, mrShape.getFillProperties() );
diff --git a/oox/source/drawingml/textbodycontext.cxx b/oox/source/drawingml/textbodycontext.cxx
index f4c33f7253e0..49b50309f597 100644
--- a/oox/source/drawingml/textbodycontext.cxx
+++ b/oox/source/drawingml/textbodycontext.cxx
@@ -99,10 +99,8 @@ ContextHandlerRef TextParagraphContext::onCreateContext( sal_Int32 aElementToken
break;
case W_TOKEN( ins ):
return this;
- break;
case OOX_TOKEN(a14, m):
return CreateLazyMathBufferingContext(*this, mrParagraph);
- break;
default:
SAL_WARN("oox", "TextParagraphContext::onCreateContext: unhandled element: " << getBaseToken(aElementToken));
}
diff --git a/oox/source/vml/vmltextboxcontext.cxx b/oox/source/vml/vmltextboxcontext.cxx
index d878c6dcdf3d..2cf5ebfaf40d 100644
--- a/oox/source/vml/vmltextboxcontext.cxx
+++ b/oox/source/vml/vmltextboxcontext.cxx
@@ -249,11 +249,9 @@ ContextHandlerRef TextBoxContext::onCreateContext( sal_Int32 nElement, const Att
return new TextPortionContext( *this, mrTextBox, maParagraph, TextFontModel(), nElement, rAttribs );
else
return this;
- break;
case W_TOKEN(pPr):
case W_TOKEN(sdt):
return this;
- break;
default:
SAL_INFO("oox", "unhandled 0x" << std::hex << getCurrentElement());
break;