Tag: cws_dev300_odbmacros3
User: fs      
Date: 2008-04-21 10:29:49+0000
Modified:
   dba/dbaccess/source/core/dataaccess/documentdefinition.cxx

Log:
 #i49133# command 'storeOwn' is for compat only, command is now named 'store'

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: documentdefinition.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/documentdefinition.cxx?r1=1.56.6.2&r2=1.56.6.3
Delta lines:  +5 -3
-------------------
--- documentdefinition.cxx      2008-04-15 13:11:28+0000        1.56.6.2
+++ documentdefinition.cxx      2008-04-21 10:29:46+0000        1.56.6.3
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: documentdefinition.cxx,v $
- * $Revision: 1.56.6.2 $
+ * $Revision: 1.56.6.3 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -1111,7 +1111,9 @@
 
             dispose();
            }
-        else if ( aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( 
"storeOwn" ) ) )
+        else if (   ( aCommand.Name.compareToAscii( "storeOwn" ) == 0 ) // 
compatibility
+                ||  ( aCommand.Name.compareToAscii( "store" ) == 0 )
+                )
         {
                    Reference<XEmbedPersist> 
xPersist(m_xEmbeddedObject,UNO_QUERY);
                    if ( xPersist.is() )




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

Reply via email to