INTEGRATION: CWS dba24d (1.32.116); FILE MERGED

2007/12/01 13:36:12 fs 1.32.116.2: RESYNC: (1.32-1.33); FILE MERGED
2007/11/15 10:01:24 fs 1.32.116.1: #i81658# +createUniqueName taking a string sequence
This commit is contained in:
Rüdiger Timm 2008-01-30 06:46:11 +00:00
parent 918084be45
commit 00b808877e

View file

@ -4,9 +4,9 @@
*
* $RCSfile: dbtools.hxx,v $
*
* $Revision: 1.34 $
* $Revision: 1.35 $
*
* last change: $Author: rt $ $Date: 2008-01-29 13:54:28 $
* last change: $Author: rt $ $Date: 2008-01-30 07:46:11 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -524,6 +524,14 @@ namespace dbtools
const ::rtl::OUString& _rBaseName,
sal_Bool _bStartWithNumber = sal_True);
/** creates a unique name which is not already used in the given name array
*/
::rtl::OUString createUniqueName(
const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _rNames,
const ::rtl::OUString& _rBaseName,
sal_Bool _bStartWithNumber = sal_True
);
/** create a name which is a valid SQL 92 identifier name
@param _rName the string which should be converted
@param _rSpecials @see com.sun.star.sdbc.XDatabaseMetaData.getExtraNameCharacters