summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-01-30 07:44:02 +0000
committerRüdiger Timm <rt@openoffice.org>2008-01-30 07:44:02 +0000
commit8099b9f9b4a398a32a4da11b3e85303c9687dac0 (patch)
treec04f7c9a2541fe400fb3479cd557da9c85859734 /dbaccess/source/ui/dlg/TextConnectionHelper.cxx
parent64f0f154c49008a8b2f1829a1946e2977b9e2606 (diff)
INTEGRATION: CWS dba24d (1.12.70); FILE MERGED
2007/11/28 11:03:40 oj 1.12.70.1: #i53608# accept extensions like *.abc as well
Diffstat (limited to 'dbaccess/source/ui/dlg/TextConnectionHelper.cxx')
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
index 70e5ff6b3377..fe08a5776664 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: TextConnectionHelper.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2007-07-06 08:12:32 $
+ * last change: $Author: rt $ $Date: 2008-01-30 08:44:02 $
*
* 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 @@ DBG_NAME(OTextConnectionHelper)
else
{
sExtension = m_aETOwnExtension.GetText();
- if ( !sExtension.Len() )
- sExtension = m_aFTExtensionExample.GetText();
+ if ( sExtension.GetToken(0,'.').Equals('*') )
+ sExtension.Erase(0,2);
}
return sExtension;
}