diff --git a/sd/source/filter/eppt/epptbase.hxx b/sd/source/filter/eppt/epptbase.hxx index 64709fa14f39..70bcd3a4b6ce 100644 --- a/sd/source/filter/eppt/epptbase.hxx +++ b/sd/source/filter/eppt/epptbase.hxx @@ -73,7 +73,8 @@ enum class EppLayout TITLERIGHT2BODIESLEFT = 18 /* Vertical title on the right, body on the left split into 2 rows */ }; -#define EPP_LAYOUT_SIZE 36 +#define EPP_LAYOUT_SIZE 25 +#define OOXML_LAYOUT_SIZE 36 struct PHLayout { diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx index 2d67ebce2c77..d9d65a2e8300 100644 --- a/sd/source/filter/eppt/epptooxml.hxx +++ b/sd/source/filter/eppt/epptooxml.hxx @@ -139,7 +139,7 @@ private: ::sax_fastparser::FSHelperPtr mPresentationFS; - LayoutInfo mLayoutInfo[EPP_LAYOUT_SIZE]; + LayoutInfo mLayoutInfo[OOXML_LAYOUT_SIZE]; std::vector< ::sax_fastparser::FSHelperPtr > mpSlidesFSArray; sal_Int32 mnLayoutFileIdMax; diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 41ef744c1799..2148653dcd20 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -196,7 +196,7 @@ struct PPTXLayoutInfo } -const PPTXLayoutInfo aLayoutInfo[EPP_LAYOUT_SIZE] = +const PPTXLayoutInfo aLayoutInfo[OOXML_LAYOUT_SIZE] = { { 0, "Title Slide", "title" }, { 1, "Title and text", "tx" },