summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-20 19:26:41 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-20 22:00:29 +0200
commit0cab28af329dd53168e99c582ff9c3318ac3c708 (patch)
treeb4291879d622ee397803d37ab57750fa9dd30b8a /xmloff
parentc87cc416609e2283d5059d8d1c317211871ddfa6 (diff)
Use AUTOLAYOUT_TITLE_ONLY instead of "deprecated" AUTOLAYOUT_ONLY_TITLE
Change-Id: Ib3c2b5f0feb70fea195f022f322c682ecd4f1918
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 f1444093347d..c78887d3ffc9 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -1003,7 +1003,7 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
ImpWriteAutoLayoutPlaceholder(XmlPlaceholderObject, aBottomRight);
break;
}
- case 19 : // AUTOLAYOUT_ONLY_TITLE
+ case AUTOLAYOUT_TITLE_ONLY :
{
ImpWriteAutoLayoutPlaceholder(XmlPlaceholderTitle, pInfo->GetTitleRectangle());
break;
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index a723dbd589bb..e46399d411b0 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -506,7 +506,7 @@ void SdXMLPresentationPageLayoutContext::EndElement()
{
if( pObj0->GetName() == "title" )
{
- mnTypeId = 19; // AUTOLAYOUT_ONLY_TITLE
+ mnTypeId = AUTOLAYOUT_TITLE_ONLY;
}
else
{