summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-20 22:34:09 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-20 22:34:09 +0200
commite819494edba7b50e03ccd4da19df790552bcad72 (patch)
tree7df221a29ae40ca96568e79b86873b64ceb1afdb /xmloff
parent6a7749cf33354010a279948807029eb322c8f113 (diff)
s/AUTOLAYOUT_4OBJ/AUTOLAYOUT_TITLE_4CONTENT
Change-Id: I8acd349ec7d9424f817981719320f51ac58b9861
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx2
-rw-r--r--xmloff/source/draw/ximpstyl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index fa00baa52569..f55ec6be7a61 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -984,7 +984,7 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
ImpWriteAutoLayoutPlaceholder(XmlPlaceholderObject, aBottom);
break;
}
- case 18 : // AUTOLAYOUT_4OBJ
+ case AUTOLAYOUT_TITLE_4CONTENT :
{
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 17691761a273..f32ae3ee2b5d 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -650,7 +650,7 @@ void SdXMLPresentationPageLayoutContext::EndElement()
if( pObj1->GetName() == "object" )
{
- mnTypeId = 18; // AUTOLAYOUT_4OBJ
+ mnTypeId = AUTOLAYOUT_TITLE_4CONTENT;
}
else
{