From c87cc416609e2283d5059d8d1c317211871ddfa6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 20 Feb 2017 19:22:47 +0200 Subject: Use AUTOLAYOUT_TITLE_2CONTENT instead of "deprecated" AUTOLAYOUT_2TEXT Change-Id: I8897e31065f69b7fb62f0770e62025f35ecb5eec --- xmloff/source/draw/sdxmlexp.cxx | 2 +- xmloff/source/draw/ximpstyl.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') 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" ) { -- cgit