Tag: cws_src680_odbmacros2
User: fs      
Date: 2008-02-11 11:17:46+0000
Modified:
   dba/dbaccess/source/ui/misc/databaseobjectview.cxx

Log:
 replace ShowTreeView/Button with (Enable|Show)Browser

File Changes:

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

File [changed]: databaseobjectview.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/databaseobjectview.cxx?r1=1.7&r2=1.7.10.1
Delta lines:  +5 -8
-------------------
--- databaseobjectview.cxx      2008-01-30 08:53:02+0000        1.7
+++ databaseobjectview.cxx      2008-02-11 11:17:43+0000        1.7.10.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: databaseobjectview.cxx,v $
  *
- *  $Revision: 1.7 $
+ *  $Revision: 1.7.10.1 $
  *
- *  last change: $Author: rt $ $Date: 2008/01/30 08:53:02 $
+ *  last change: $Author: fs $ $Date: 2008/02/11 11:17:43 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -360,7 +360,7 @@
                        ::dbtools::qualifiedNameComponents( 
getConnection()->getMetaData(), _rQualifiedName, sCatalog, sSchema, sTable, 
::dbtools::eInDataManipulation );
 
                sal_Int32 nPos = _rDispatchArguments.getLength();
-               _rDispatchArguments.realloc( _rDispatchArguments.getLength() + 
4 + (m_bTable ? 3 : 0) );
+               _rDispatchArguments.realloc( _rDispatchArguments.getLength() + 
3 + ( m_bTable ? 3 : 0 ) );
 
                _rDispatchArguments[nPos  ].Name = PROPERTY_COMMAND_TYPE;
                _rDispatchArguments[nPos++].Value <<= (m_bTable ? 
CommandType::TABLE : CommandType::QUERY);
@@ -368,10 +368,7 @@
                _rDispatchArguments[nPos  ].Name = PROPERTY_COMMAND;
                _rDispatchArguments[nPos++].Value <<= _rQualifiedName;
 
-               _rDispatchArguments[nPos  ].Name = PROPERTY_SHOWTREEVIEW;
-               _rDispatchArguments[nPos++].Value <<= sal_False;
-
-               _rDispatchArguments[nPos  ].Name = PROPERTY_SHOWTREEVIEWBUTTON;
+               _rDispatchArguments[nPos  ].Name = PROPERTY_ENABLE_BROWSER;
                _rDispatchArguments[nPos++].Value <<= sal_False;
 
                if ( m_bTable )




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

Reply via email to