Tag: cws_src680_dba25
User: oj      
Date: 05/03/03 23:05:46

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

Log:
 #i43887# use / +1 as last character for compare

File Changes:

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

File [changed]: AppControllerDnD.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppControllerDnD.cxx?r1=1.8&r2=1.8.36.1
Delta lines:  +5 -5
-------------------
--- AppControllerDnD.cxx        21 Jan 2005 17:05:46 -0000      1.8
+++ AppControllerDnD.cxx        4 Mar 2005 07:05:44 -0000       1.8.36.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: AppControllerDnD.cxx,v $
  *
- *  $Revision: 1.8 $
+ *  $Revision: 1.8.36.1 $
  *
- *  last change: $Author: kz $ $Date: 2005/01/21 17:05:46 $
+ *  last change: $Author: oj $ $Date: 2005/03/04 07:05:44 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -403,8 +403,8 @@
                     // #i33353# - 2004-09-27 - [EMAIL PROTECTED]
                     sal_Int32 nLastCharPos = aThisRound->getLength() - 1;
                     OSL_ENSURE( nLastCharPos >= 0, 
"OApplicationController::deleteObjects: empty name?" );
-                    ::rtl::OUStringBuffer sSmallestSiblingName( 
aThisRound->copy( 0, nLastCharPos ) );
-                    sSmallestSiblingName.append( (sal_Unicode)( 
aThisRound->getStr()[ nLastCharPos ] + 1 ) );
+                                       ::rtl::OUStringBuffer 
sSmallestSiblingName( *aThisRound );
+                    sSmallestSiblingName.append( (sal_Unicode)( '/' + 1) );
 
                     ::std::set< ::rtl::OUString >::iterator 
aUpperChildrenBound = aDeleteNames.lower_bound( 
sSmallestSiblingName.makeStringAndClear() );
                     for ( ::std::set< ::rtl::OUString >::iterator aObsolete = 
aThisRound;




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

Reply via email to