fixed service name for numbering rules

This commit is contained in:
Christian Lippka 2000-11-02 15:28:09 +00:00
parent 279fd5669c
commit 56395f9037

View file

@ -2,9 +2,9 @@
*
* $RCSfile: unomodel.cxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: cl $ $Date: 2000-11-01 14:53:19 $
* last change: $Author: cl $ $Date: 2000-11-02 16:28:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -571,7 +571,7 @@ uno::Reference< uno::XInterface > SAL_CALL SdXImpressDocument::createInstance( c
{
return SvxUnoMarkerTable_createInstance( pDoc );
}
if( 0 == aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.style.NumberingRule" ) ) )
if( 0 == aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.NumberingRules" ) ) )
{
return uno::Reference< uno::XInterface >( (uno::XWeak*)(new SvxUnoNumberingRules( pDoc )) );
}