Tag: cws_src680_dba24d
User: oj      
Date: 2007-11-28 11:03:43+0000
Modified:
   dba/dbaccess/source/ui/dlg/TextConnectionHelper.cxx

Log:
 #i53608# accept  extensions like *.abc as well

File Changes:

Directory: /dba/dbaccess/source/ui/dlg/
=======================================

File [changed]: TextConnectionHelper.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/TextConnectionHelper.cxx?r1=1.12&r2=1.12.70.1
Delta lines:  +5 -5
-------------------
--- TextConnectionHelper.cxx    2007-07-06 08:12:32+0000        1.12
+++ TextConnectionHelper.cxx    2007-11-28 11:03:40+0000        1.12.70.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: TextConnectionHelper.cxx,v $
  *
- *  $Revision: 1.12 $
+ *  $Revision: 1.12.70.1 $
  *
- *  last change: $Author: rt $ $Date: 2007/07/06 08:12:32 $
+ *  last change: $Author: oj $ $Date: 2007/11/28 11:03:40 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -449,8 +449,8 @@
         else
         {
             sExtension = m_aETOwnExtension.GetText();
-            if ( !sExtension.Len() )
-                sExtension = m_aFTExtensionExample.GetText();
+            if ( sExtension.GetToken(0,'.').Equals('*') )
+                sExtension.Erase(0,2);
         }
         return sExtension;
     }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to