summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-20 19:22:47 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-20 22:00:29 +0200
commitc87cc416609e2283d5059d8d1c317211871ddfa6 (patch)
treed591ce7d214f7edc88847eb9ab6d6f249ddb9458 /xmloff/source
parent2f6d2c0c47ebfd1b98f9610aec99566fe3a1a982 (diff)
Use AUTOLAYOUT_TITLE_2CONTENT instead of "deprecated" AUTOLAYOUT_2TEXT
Change-Id: I8897e31065f69b7fb62f0770e62025f35ecb5eec
Diffstat (limited to 'xmloff/source')
-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 bbb61cbb6006..f1444093347d 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -816,7 +816,7 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
ImpWriteAutoLayoutPlaceholder(XmlPlaceholderChart, pInfo->GetPresRectangle());
break;
}
- case 3 : // AUTOLAYOUT_2TEXT
+ case AUTOLAYOUT_TITLE_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 7f2f1d89ba66..a723dbd589bb 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -566,7 +566,7 @@ void SdXMLPresentationPageLayoutContext::EndElement()
{
if( pObj2->GetName() == "outline" )
{
- mnTypeId = 3; // AUTOLAYOUT_2TEXT
+ mnTypeId = AUTOLAYOUT_TITLE_2CONTENT;
}
else if( pObj2->GetName() == "chart" )
{