diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-05-18 17:34:06 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-05-18 17:36:52 +0200 |
commit | 06f1272adec1c434d311cc59fc8bc247a9d80d2f (patch) | |
tree | 893d2525e35c6daa68723594c286cccf6ac8c45e /sd/source/ui/unoidl | |
parent | 33b93f9d4aac62a913f401858b6bf96b508dfa93 (diff) |
Fix build (use correct text field UNO type)
Change-Id: I55725910c6882b9664c7490a865e9220fbb5c5d6
Diffstat (limited to 'sd/source/ui/unoidl')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index f73d991de262..5190351cc714 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -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" ) |