summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-20 23:25:44 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-21 00:14:13 +0200
commit5afef8d53134ae7cefdada93e32b3e94d90d4c98 (patch)
tree456f37d459fbed28ebc505e678281165868547ec /xmloff
parent3ec3d7ead0f2e47a4e24ba0d6953fea0f49815ed (diff)
s/AUTOLAYOUT_6CLIPART/AUTOLAYOUT_TITLE_6CONTENT/, and sort
Need to sort in this commit so that the AUTOLAYOUT_END keeps being one more than the highest-valued enumerator. Change-Id: I0db7c8ba069808e92589d5c4688632440007163b
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 3c0b440d818d..740784cd0d51 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -1128,7 +1128,7 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
break;
}
- case 34 : // AUTOLAYOUT_6CLIPART
+ case AUTOLAYOUT_TITLE_6CONTENT :
{
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 721530c7c285..8c60ec541109 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -657,7 +657,7 @@ void SdXMLPresentationPageLayoutContext::EndElement()
}
case 7:
{
- mnTypeId = 33; // AUTOLAYOUT_6CLIPART
+ mnTypeId = 33; // AUTOLAYOUT_6CLIPART (huh? 33 is not that)
break;
}
default: