summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-20 19:35:01 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-20 22:00:30 +0200
commit7b2c59a97ddf9a5b14f2721005119e183a467803 (patch)
tree844d4e9acb2ee97110d6ac08c74dd2a22f510d75 /xmloff
parent0cab28af329dd53168e99c582ff9c3318ac3c708 (diff)
s/AUTOLAYOUT_TEXT2OBJ/AUTOLAYOUT_TITLE_CONTENT_2CONTENT
Change-Id: I514cf647863e51848ff51c26938e682ffeca7685
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 c78887d3ffc9..598c79d52fb0 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -900,7 +900,7 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
ImpWriteAutoLayoutPlaceholder(XmlPlaceholderObject, pInfo->GetPresRectangle());
break;
}
- case 12 : // AUTOLAYOUT_TEXT2OBJ
+ case AUTOLAYOUT_TITLE_CONTENT_2CONTENT :
{
Rectangle aLeft(pInfo->GetPresRectangle());
aLeft.setWidth(long(aLeft.GetWidth() * 0.488));
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index e46399d411b0..643d5bac16c5 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -640,7 +640,7 @@ void SdXMLPresentationPageLayoutContext::EndElement()
}
else
{
- mnTypeId = 12; // AUTOLAYOUT_TEXT2OBJ
+ mnTypeId = AUTOLAYOUT_TITLE_CONTENT_2CONTENT;
}
break;
}