[Libreoffice-commits] .: Branch 'libreoffice-3-3' - fpicker/source
Cédric Bosdonnat
cbosdo at kemper.freedesktop.org
Fri Nov 26 06:46:32 PST 2010
fpicker/source/unx/gnome/SalGtkFilePicker.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 83d985d952229d5cd9c8c9be572f4b7b05530caa
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date: Fri Nov 26 15:44:31 2010 +0100
When saving a docx file to doc, the used filter is docx.
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
index a417f81..6a85798 100644
--- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
+++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
@@ -917,7 +917,7 @@ uno::Sequence<rtl::OUString> SAL_CALL SalGtkFilePicker::getSelectedFiles() throw
++aListIter
)
{
- if( aListIter->getFilter().indexOf( aStarDot+sExtension ) >= 0 )
+ if( aListIter->getFilter().equalsIgnoreAsciiCase( aStarDot+sExtension ) )
{
if( !aNewFilter.getLength() )
aNewFilter = aListIter->getTitle();
More information about the Libreoffice-commits
mailing list