Kaydet (Commit) fab4d44b authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS fwk83_SRC680 (1.5.112); FILE MERGED

2008/01/15 07:59:06 pb 1.5.112.1: fix; #i85134# impl_getStaticSupportedServiceNames() without dialogs.FolderPicker
üst eb67fb28
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: OfficeFolderPicker.cxx,v $ * $RCSfile: OfficeFolderPicker.cxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: vg $ $Date: 2006-11-22 10:14:37 $ * last change: $Author: ihi $ $Date: 2008-02-05 12:21:05 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -269,10 +269,8 @@ Sequence< ::rtl::OUString > SAL_CALL SvtFolderPicker::getSupportedServiceNames() ...@@ -269,10 +269,8 @@ Sequence< ::rtl::OUString > SAL_CALL SvtFolderPicker::getSupportedServiceNames()
/* Helper for XServiceInfo */ /* Helper for XServiceInfo */
Sequence< ::rtl::OUString > SvtFolderPicker::impl_getStaticSupportedServiceNames() Sequence< ::rtl::OUString > SvtFolderPicker::impl_getStaticSupportedServiceNames()
{ {
Sequence< ::rtl::OUString > seqServiceNames( 2 ); Sequence< ::rtl::OUString > seqServiceNames(1);
::rtl::OUString* pArray = seqServiceNames.getArray(); seqServiceNames[0] = ::rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.OfficeFolderPicker" );
pArray[0] = ::rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.FolderPicker" );
pArray[1] = ::rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.OfficeFolderPicker" );
return seqServiceNames ; return seqServiceNames ;
} }
...@@ -289,3 +287,4 @@ Reference< XInterface > SAL_CALL SvtFolderPicker::impl_createInstance( const Ref ...@@ -289,3 +287,4 @@ Reference< XInterface > SAL_CALL SvtFolderPicker::impl_createInstance( const Ref
Reference< XMultiServiceFactory > xServiceManager (rxContext->getServiceManager(), UNO_QUERY_THROW); Reference< XMultiServiceFactory > xServiceManager (rxContext->getServiceManager(), UNO_QUERY_THROW);
return Reference< XInterface >( *new SvtFolderPicker( xServiceManager ) ); return Reference< XInterface >( *new SvtFolderPicker( xServiceManager ) );
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment