diff --git a/connectivity/inc/connectivity/dbtools.hxx b/connectivity/inc/connectivity/dbtools.hxx index da9fb29305f5..4b3d53d4ff3f 100644 --- a/connectivity/inc/connectivity/dbtools.hxx +++ b/connectivity/inc/connectivity/dbtools.hxx @@ -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