summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-21 00:05:38 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-21 00:14:14 +0200
commit1b3aa39339f0cf01ad5bd45806b18ea33faad5c4 (patch)
tree274fd5809f7ef07ef4b7de79c3c4fc0cff0034be /xmloff
parent5afef8d53134ae7cefdada93e32b3e94d90d4c98 (diff)
AutoLayout value 33 is "AUTOLAYOUT_4CLIPART" according to comments
Change-Id: I082dd08c1caf6f1585e3e16b441ba3b5a0d137f1
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx2
-rw-r--r--xmloff/source/draw/ximpstyl.cxx4
2 files changed, 3 insertions, 3 deletions
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: