diff options
author | avy <avy@openoffice.org> | 2001-03-30 12:56:42 +0000 |
---|---|---|
committer | avy <avy@openoffice.org> | 2001-03-30 12:56:42 +0000 |
commit | cc0893e4954ab9b7c1883b6cebf15b0086d19cd4 (patch) | |
tree | c0cad37e1ca24a574b8fbb7c15edc9a12901b925 /dbaccess/source/ui/misc | |
parent | bf92f52175d1d5d6001e8513b2664cd637fe898e (diff) |
Temporary variable added because of error during compiling under the Lunux
Diffstat (limited to 'dbaccess/source/ui/misc')
-rw-r--r-- | dbaccess/source/ui/misc/indexcollection.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dbaccess/source/ui/misc/indexcollection.cxx b/dbaccess/source/ui/misc/indexcollection.cxx index 4668be3beeaf..df4a6960d74b 100644 --- a/dbaccess/source/ui/misc/indexcollection.cxx +++ b/dbaccess/source/ui/misc/indexcollection.cxx @@ -2,9 +2,9 @@ * * $RCSfile: indexcollection.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: fs $ $Date: 2001-03-19 06:03:23 $ + * last change: $Author: avy $ $Date: 2001-03-30 13:56:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -408,8 +408,8 @@ namespace dbaui OIndexCollection::iterator OIndexCollection::insert(const String& _rName) { OSL_ENSURE(end() == find(_rName), "OIndexCollection::insert: invalid new name!"); - - OIndex aNewIndex(String()); // the empty string indicates the index is a new one + String tmpName; + OIndex aNewIndex(tmpName); // the empty string indicates the index is a new one aNewIndex.sName = _rName; m_aIndexes.push_back(aNewIndex); return m_aIndexes.end() - 1; // the last element is the new one ... @@ -461,6 +461,9 @@ namespace dbaui /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.2 2001/03/19 06:03:23 fs + * ensure that no fields occure twice when committing + * * Revision 1.1 2001/03/16 16:22:20 fs * initial checkin - non-UNO index collection * |