Fix build (use correct text field UNO type)
Change-Id: I55725910c6882b9664c7490a865e9220fbb5c5d6
This commit is contained in:
parent
33b93f9d4a
commit
06f1272ade
@ -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" )
|
||||
|
Loading…
x
Reference in New Issue
Block a user