diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-02-05 11:21:05 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-02-05 11:21:05 +0000 |
commit | fab4d44b4229b8e0cb90af34e14f5199a82442f8 (patch) | |
tree | f2080a5a389d55c70ee2d8c43dfa362dd0d14c82 /fpicker/source/office/OfficeFolderPicker.cxx | |
parent | eb67fb28fbc28fe499200cedc27eccd25d276388 (diff) |
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
Diffstat (limited to 'fpicker/source/office/OfficeFolderPicker.cxx')
-rw-r--r-- | fpicker/source/office/OfficeFolderPicker.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/fpicker/source/office/OfficeFolderPicker.cxx b/fpicker/source/office/OfficeFolderPicker.cxx index 9360f54a0041..46978d906ca9 100644 --- a/fpicker/source/office/OfficeFolderPicker.cxx +++ b/fpicker/source/office/OfficeFolderPicker.cxx @@ -4,9 +4,9 @@ * * $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 terms of GNU Lesser General Public License Version 2.1. @@ -269,10 +269,8 @@ Sequence< ::rtl::OUString > SAL_CALL SvtFolderPicker::getSupportedServiceNames() /* Helper for XServiceInfo */ Sequence< ::rtl::OUString > SvtFolderPicker::impl_getStaticSupportedServiceNames() { - Sequence< ::rtl::OUString > seqServiceNames( 2 ); - ::rtl::OUString* pArray = seqServiceNames.getArray(); - pArray[0] = ::rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.FolderPicker" ); - pArray[1] = ::rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.OfficeFolderPicker" ); + Sequence< ::rtl::OUString > seqServiceNames(1); + seqServiceNames[0] = ::rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.OfficeFolderPicker" ); return seqServiceNames ; } @@ -289,3 +287,4 @@ Reference< XInterface > SAL_CALL SvtFolderPicker::impl_createInstance( const Ref Reference< XMultiServiceFactory > xServiceManager (rxContext->getServiceManager(), UNO_QUERY_THROW); return Reference< XInterface >( *new SvtFolderPicker( xServiceManager ) ); } + |