INTEGRATION: CWS autoextension01_SRC680 (1.136.28.1.4); FILE MERGED

2008/01/17 14:01:35 as 1.136.28.1.4.1: #i78854# improve auto-extension feature
This commit is contained in:
Ivo Hinkelmann 2008-02-04 13:19:33 +00:00
parent 48675d1604
commit cb1d586092

View file

@ -4,9 +4,9 @@
*
* $RCSfile: filedlghelper.cxx,v $
*
* $Revision: 1.137 $
* $Revision: 1.138 $
*
* last change: $Author: ihi $ $Date: 2008-01-14 17:28:05 $
* last change: $Author: ihi $ $Date: 2008-02-04 14:19:33 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -1493,9 +1493,11 @@ void FileDialogHelper_Impl::implStartExecute()
}
// ------------------------------------------------------------------------
String FileDialogHelper_Impl::implEnsureURLExtension(const String& sURL ,
const String& sExtension)
String FileDialogHelper_Impl::implEnsureURLExtension(const String& sURL,
const String& /*sExtension*/)
{
return sURL;
/*
// This feature must be active for file save/export only !
if (
(! mbIsSaveDlg) &&
@ -1523,6 +1525,7 @@ String FileDialogHelper_Impl::implEnsureURLExtension(const String& sURL ,
sNewURL.appendAscii("." );
sNewURL.append (sExtension);
return sNewURL.makeStringAndClear();
*/
}
// ------------------------------------------------------------------------