#105021# added missing service DocumentFactory
This commit is contained in:
parent
4821510163
commit
4b3d40a300
1 changed files with 4 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: unomodel.cxx,v $
|
||||
*
|
||||
* $Revision: 1.58 $
|
||||
* $Revision: 1.59 $
|
||||
*
|
||||
* last change: $Author: vg $ $Date: 2002-08-27 15:18:36 $
|
||||
* last change: $Author: cl $ $Date: 2002-11-12 15:39:45 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -1166,11 +1166,12 @@ sal_Bool SAL_CALL SdXImpressDocument::supportsService( const OUString& ServiceNa
|
|||
|
||||
uno::Sequence< OUString > SAL_CALL SdXImpressDocument::getSupportedServiceNames() throw(uno::RuntimeException)
|
||||
{
|
||||
uno::Sequence< OUString > aSeq( mbImpressDoc ? 3 : 2 );
|
||||
uno::Sequence< OUString > aSeq( mbImpressDoc ? 4 : 3 );
|
||||
OUString* pServices = aSeq.getArray();
|
||||
|
||||
*pServices++ = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.document.OfficeDocument"));
|
||||
*pServices++ = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.DrawingDocument"));
|
||||
*pServices++ = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.DrawingDocumentFactory"));
|
||||
|
||||
if( mbImpressDoc )
|
||||
*pServices++ = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.PresentationDocument"));
|
||||
|
|
Loading…
Reference in a new issue