Kaydet (Commit) 06f1272a authored tarafından Katarina Behrens's avatar Katarina Behrens

Fix build (use correct text field UNO type)

Change-Id: I55725910c6882b9664c7490a865e9220fbb5c5d6
üst 33b93f9d
......@@ -931,10 +931,10 @@ css::uno::Reference<css::uno::XInterface> SdXImpressDocument::create(
return (::cppu::OWeakObject * )new SvxUnoTextField( text::textfield::Type::PRESENTATION_DATE_TIME );
}
if( aServiceSpecifier == "com.sun.star.presentation.TextField.PageTitle" ||
aServiceSpecifier == "com.sun.star.presentation.textfield.PageTitle" )
if( aServiceSpecifier == "com.sun.star.text.TextField.PageName" ||
aServiceSpecifier == "com.sun.star.text.textfield.PageName" )
{
return (::cppu::OWeakObject * )new SvxUnoTextField( text::textfield::Type::PRESENTATION_PAGE_TITLE );
return (::cppu::OWeakObject * )new SvxUnoTextField( text::textfield::Type::PAGE_NAME );
}
if( aServiceSpecifier == "com.sun.star.xml.NamespaceMap" )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment