summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-04-21 10:41:31 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2015-04-21 10:56:56 +0200
commit6609de8856519e0e9ec8456ca0969004a8214346 (patch)
treedd5c4a9a3fb45fa1547b76b6714dcf42ac1968ab /editeng/source
parent95fcbd2779757f9be89581bd253b8d49a2afa1e7 (diff)
Related tdf#88056: this guy's better off in presentation namespace
no use for it outside Impress really ... Change-Id: I419ce252ec1b32a7ef225fefc02ec5dd87ba402a
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/items/flditem.cxx4
-rw-r--r--editeng/source/uno/unofield.cxx10
2 files changed, 7 insertions, 7 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index 8a643fa335f2..72c74520bdd7 100644
--- a/editeng/source/items/flditem.cxx
+++ b/editeng/source/items/flditem.cxx
@@ -117,8 +117,6 @@ SvxFieldData* SvxFieldData::Create(const uno::Reference<text::XTextContent>& xTe
return new SvxPageField();
case text::textfield::Type::PAGES:
return new SvxPagesField();
- case text::textfield::Type::PAGE_TITLE:
- return new SvxPageTitleField();
case text::textfield::Type::DOCINFO_TITLE:
return new SvxFileField();
case text::textfield::Type::TABLE:
@@ -210,6 +208,8 @@ SvxFieldData* SvxFieldData::Create(const uno::Reference<text::XTextContent>& xTe
return new SvxFooterField();
case text::textfield::Type::PRESENTATION_DATE_TIME:
return new SvxDateTimeField();
+ case text::textfield::Type::PRESENTATION_PAGE_TITLE:
+ return new SvxPageTitleField();
default:
;
};
diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx
index 21b0ef5417f6..a52fb11d9cc3 100644
--- a/editeng/source/uno/unofield.cxx
+++ b/editeng/source/uno/unofield.cxx
@@ -508,7 +508,7 @@ SvxFieldData* SvxUnoTextField::CreateFieldData() const throw()
case text::textfield::Type::PRESENTATION_DATE_TIME:
pData = new SvxDateTimeField();
break;
- case text::textfield::Type::PAGE_TITLE:
+ case text::textfield::Type::PRESENTATION_PAGE_TITLE:
pData = new SvxPageTitleField();
break;
};
@@ -613,7 +613,7 @@ OUString SAL_CALL SvxUnoTextField::getPresentation( sal_Bool bShowCommand )
return OUString("Footer");
case text::textfield::Type::PRESENTATION_DATE_TIME:
return OUString("DateTime");
- case text::textfield::Type::PAGE_TITLE:
+ case text::textfield::Type::PRESENTATION_PAGE_TITLE:
return OUString("PageTitle");
default:
return OUString("Unknown");
@@ -862,9 +862,9 @@ uno::Sequence< OUString > SAL_CALL SvxUnoTextField::getSupportedServiceNames()
pServices[2] = "com.sun.star.presentation.TextField.DateTime";
pServices[3] = "com.sun.star.presentation.textfield.DateTime";
break;
- case text::textfield::Type::PAGE_TITLE:
- pServices[2] = "com.sun.star.text.TextField.PageTitle";
- pServices[3] = "com.sun.star.text.textfield.PageTitle";
+ case text::textfield::Type::PRESENTATION_PAGE_TITLE:
+ pServices[2] = "com.sun.star.presentation.TextField.PageTitle";
+ pServices[3] = "com.sun.star.presentation.textfield.PageTitle";
break;
default:
aSeq.realloc(0);