diff --git a/include/xmloff/autolayout.hxx b/include/xmloff/autolayout.hxx index 268aaac47d6d..2f1898a4790c 100644 --- a/include/xmloff/autolayout.hxx +++ b/include/xmloff/autolayout.hxx @@ -57,7 +57,7 @@ enum AutoLayout AUTOLAYOUT_TITLE_2VTEXT = 30, ///< Title, 2 Vertical Content AUTOLAYOUT_HANDOUT9 = 31, AUTOLAYOUT_ONLY_TEXT = 32, ///< Centered Text - // 33 missing + AUTOLAYOUT_4CLIPART = 33, AUTOLAYOUT_TITLE_6CONTENT = 34, ///< Title, 6 Content AUTOLAYOUT_END }; diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 740784cd0d51..dec026c3089c 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -1108,7 +1108,7 @@ void SdXMLExport::ImpWriteAutoLayoutInfos() break; } - case 33 : // AUTOLAYOUT_4CLIPART + case AUTOLAYOUT_4CLIPART : { Rectangle aTopLeft(pInfo->GetPresRectangle()); aTopLeft.setHeight(long(aTopLeft.GetHeight() * 0.477)); diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index 8c60ec541109..68c95c0984e1 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -650,14 +650,14 @@ void SdXMLPresentationPageLayoutContext::EndElement() } else { - mnTypeId = 33; // AUTOLAYOUT_4CLIPART + mnTypeId = AUTOLAYOUT_4CLIPART; } break; } case 7: { - mnTypeId = 33; // AUTOLAYOUT_6CLIPART (huh? 33 is not that) + mnTypeId = AUTOLAYOUT_4CLIPART; // FIXME: not AUTOLAYOUT_TITLE_6CONTENT? break; } default: