[Libreoffice-commits] core.git: sd/source
Katarina Behrens
Katarina.Behrens at cib.de
Mon May 18 08:37:36 PDT 2015
sd/source/ui/unoidl/unomodel.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 06f1272adec1c434d311cc59fc8bc247a9d80d2f
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date: Mon May 18 17:34:06 2015 +0200
Fix build (use correct text field UNO type)
Change-Id: I55725910c6882b9664c7490a865e9220fbb5c5d6
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index f73d991..5190351 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" )
More information about the Libreoffice-commits
mailing list