Tag: cws_src680_dba201b
User: oj      
Date: 05/05/31 06:29:38

Modified:
 /dba/dbaccess/source/ui/app/
  AppController.cxx

Log:
 #123000# check if vector is empty

File Changes:

Directory: /dba/dbaccess/source/ui/app/
=======================================

File [changed]: AppController.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.20&r2=1.20.26.1
Delta lines:  +5 -3
-------------------
--- AppController.cxx   6 Apr 2005 11:40:09 -0000       1.20
+++ AppController.cxx   31 May 2005 13:29:35 -0000      1.20.26.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: AppController.cxx,v $
  *
- *  $Revision: 1.20 $
+ *  $Revision: 1.20.26.1 $
  *
- *  last change: $Author: hr $ $Date: 2005/04/06 11:40:09 $
+ *  last change: $Author: oj $ $Date: 2005/05/31 13:29:35 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -1897,6 +1897,8 @@
 
        Reference< XNameAccess > xContainer = 
getElements(getContainer()->getElementType());
        OSL_ENSURE(aList.size() == 1,"Invalid rename call here. More than one 
element!");
+  if ( aList.empty() )
+    return;
 
        try
        {




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to