diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-09-13 15:28:35 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-09-13 15:28:35 +0000 |
commit | 7bfc7ea308e50f8985502df5486d4dd7b6fdda23 (patch) | |
tree | af2246003081d5be953dc9a626cfd75bfb5fb582 /fpicker | |
parent | c9ab48101f1b1448851ad37bf76f910398d13607 (diff) |
INTEGRATION: CWS aquavclcarbonfixes (1.11.54); FILE MERGED
2007/09/05 07:35:56 ericb 1.11.54.1: #i81231# a fix for fpicker issue (avoid double registration). Original patch from as
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index 41e26a439bd0..b7f19e276000 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -4,9 +4,9 @@ * * $RCSfile: OfficeFilePicker.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: rt $ $Date: 2007-01-29 14:50:59 $ + * last change: $Author: ihi $ $Date: 2007-09-13 16:28:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1154,10 +1154,9 @@ Sequence< rtl::OUString > SAL_CALL SvtFilePicker::getSupportedServiceNames() thr /* Helper for XServiceInfo */ Sequence< rtl::OUString > SvtFilePicker::impl_getStaticSupportedServiceNames() { - Sequence< rtl::OUString > seqServiceNames( 2 ); + Sequence< rtl::OUString > seqServiceNames( 1 ); rtl::OUString* pArray = seqServiceNames.getArray(); - pArray[0] = rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.FilePicker" ); - pArray[1] = rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.OfficeFilePicker" ); + pArray[0] = rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.OfficeFilePicker" ); return seqServiceNames ; } |