ooo-build r14252 - in branches/ooo-build-3-0: . patches/dev300
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r14252 - in branches/ooo-build-3-0: . patches/dev300
- Date: Wed, 8 Oct 2008 21:40:15 +0000 (UTC)
Author: tml
Date: Wed Oct 8 21:40:15 2008
New Revision: 14252
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14252&view=rev
Log:
2008-10-09 Tor Lillqvist <tml novell com>
* patches/dev300/novell-win32-odma.diff
(fpicker/source/odma/ODMAFolderPicker.cxx): Don't claim we support
the service com.sun.star.ui.dialogs.FolderPicker. Unlike for the
corresponding file picker, it isn't necessary. It's enough to just
say that we support the com.sun.star.ui.dialogs.ODMAFolderPicker
service.
This fixes the unintended phenomenon that even if one toggles on
the "Use OpenOffice.org dialogs" on the Tools:Options:General
page, it is still the ODMAFolderPicker (which forwards to the
Win32FolderPicker in the usual case of no ODMA server available)
that gets used. This breaks testtool scripts. When the system
folder dialog is displayed, it is modal and sticks, and testtool
loses track of what is going on and everything fails after that.
Modified:
branches/ooo-build-3-0/ChangeLog
branches/ooo-build-3-0/patches/dev300/novell-win32-odma.diff
Modified: branches/ooo-build-3-0/patches/dev300/novell-win32-odma.diff
==============================================================================
--- branches/ooo-build-3-0/patches/dev300/novell-win32-odma.diff (original)
+++ branches/ooo-build-3-0/patches/dev300/novell-win32-odma.diff Wed Oct 8 21:40:15 2008
@@ -1515,7 +1515,7 @@
diff -ruN fpicker/source/odma/ODMAFolderPicker.cxx fpicker/source/odma/ODMAFolderPicker.cxx
--- fpicker/source/odma/ODMAFolderPicker.cxx 1970-01-01 00:00:00.000000000 +0000
+++ fpicker/source/odma/ODMAFolderPicker.cxx 2006-10-30 01:09:51.281250000 +0000
-@@ -0,0 +1,203 @@
+@@ -0,0 +1,202 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
@@ -1701,10 +1701,9 @@
+
+Sequence< ::rtl::OUString > ODMAFolderPicker::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.FolderPicker" );
-+ pArray[1] = ::rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.ODMAFolderPicker" );
++ pArray[0] = ::rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.ODMAFolderPicker" );
+ return seqServiceNames ;
+}
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]