diff options
author | Christian Lippka <cl@openoffice.org> | 2001-06-11 14:05:53 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-06-11 14:05:53 +0000 |
commit | 94b379c6bf369fe036d572fe885026e3e215a4d7 (patch) | |
tree | f902df29f2aa4729b62eed65b3622aaf83c85c76 /svx/source | |
parent | b7e7416534f09ac7aed56d8bde85e1b8c282dbe7 (diff) |
#78966# fixed service names
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/unoedit/unofield.cxx | 6 | ||||
-rw-r--r-- | svx/source/unoedit/unotext.cxx | 8 | ||||
-rw-r--r-- | svx/source/unoedit/unotext2.cxx | 7 |
3 files changed, 12 insertions, 9 deletions
diff --git a/svx/source/unoedit/unofield.cxx b/svx/source/unoedit/unofield.cxx index a158143de5ee..6e4542d660b8 100644 --- a/svx/source/unoedit/unofield.cxx +++ b/svx/source/unoedit/unofield.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unofield.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: nn $ $Date: 2001-05-31 18:11:01 $ + * last change: $Author: cl $ $Date: 2001-06-11 15:05:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1057,7 +1057,7 @@ sal_Int32 SvxUnoTextField::GetFieldId( const SvxFieldData* pFieldData ) const th // lang::XServiceInfo OUString SAL_CALL SvxUnoTextField::getImplementationName() throw(uno::RuntimeException) { - return OUString(RTL_CONSTASCII_USTRINGPARAM("SvxUnoTextField2")); + return OUString(RTL_CONSTASCII_USTRINGPARAM("SvxUnoTextField")); } static const sal_Char* pServiceNames[] = diff --git a/svx/source/unoedit/unotext.cxx b/svx/source/unoedit/unotext.cxx index 98c259bf893e..28cb184ab3d9 100644 --- a/svx/source/unoedit/unotext.cxx +++ b/svx/source/unoedit/unotext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unotext.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: cl $ $Date: 2001-04-03 14:02:41 $ + * last change: $Author: cl $ $Date: 2001-06-11 15:05:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1099,7 +1099,9 @@ uno::Sequence< OUString > SAL_CALL SvxUnoTextRangeBase::getSupportedServiceNames throw(uno::RuntimeException) { uno::Sequence< OUString > aSeq; - SvxServiceInfoHelper::addToSequence( aSeq, 1, "com.sun.star.style.CharacterProperties" ); + SvxServiceInfoHelper::addToSequence( aSeq, 3, "com.sun.star.style.CharacterProperties", + "com.sun.star.style.CharacterPropertiesComplex", + "com.sun.star.style.CharacterPropertiesAsian"); return aSeq; } diff --git a/svx/source/unoedit/unotext2.cxx b/svx/source/unoedit/unotext2.cxx index 9bf472347bb5..a931eec26f4e 100644 --- a/svx/source/unoedit/unotext2.cxx +++ b/svx/source/unoedit/unotext2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unotext2.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: cl $ $Date: 2001-03-14 09:23:12 $ + * last change: $Author: cl $ $Date: 2001-06-11 15:05:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -659,7 +659,8 @@ sal_Bool SAL_CALL SvxUnoTextCursor::supportsService( const OUString& ServiceName uno::Sequence< OUString > SAL_CALL SvxUnoTextCursor::getSupportedServiceNames() throw(uno::RuntimeException) { uno::Sequence< OUString > aSeq( SvxUnoTextRangeBase::getSupportedServiceNames() ); - SvxServiceInfoHelper::addToSequence( aSeq, 1,"com.sun.star.text.TextCursor"); + SvxServiceInfoHelper::addToSequence( aSeq, 2,"com.sun.star.style.ParagraphProperties", + "com.sun.star.text.TextCursor"); return aSeq; } |