Tag: cws_src680_warnings01
User: fs      
Date: 06/06/14 03:53:34

Modified:
 /dba/connectivity/inc/connectivity/sdbcx/
  VDescriptor.hxx

Log:
 #i66367# superseded changePropertyAttribute with doCreateArrayHelper

File Changes:

Directory: /dba/connectivity/inc/connectivity/sdbcx/
====================================================

File [changed]: VDescriptor.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/inc/connectivity/sdbcx/VDescriptor.hxx?r1=1.8.30.1&r2=1.8.30.2
Delta lines:  +11 -13
---------------------
--- VDescriptor.hxx     7 Nov 2005 14:42:55 -0000       1.8.30.1
+++ VDescriptor.hxx     14 Jun 2006 10:53:31 -0000      1.8.30.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: VDescriptor.hxx,v $
  *
- *  $Revision: 1.8.30.1 $
+ *  $Revision: 1.8.30.2 $
  *
- *  last change: $Author: fs $ $Date: 2005/11/07 14:42:55 $
+ *  last change: $Author: fs $ $Date: 2006/06/14 10:53:31 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -71,17 +71,15 @@
                protected:
                        ::rtl::OUString                 m_Name;
 
-                       // set the attributes of the properties corresponding 
to the isnew() flag
-                       // must be called from createArrayHelper
-                       void 
changePropertyAttributte(::com::sun::star::uno::Sequence< 
::com::sun::star::beans::Property>& _rProps) const
-                       {
-                               ::com::sun::star::beans::Property* pBegin       
= _rProps.getArray();
-                               ::com::sun::star::beans::Property* pEnd         
= pBegin + _rProps.getLength();
-                               for(;pBegin != pEnd;++pBegin)
-                               {
-                                       pBegin->Attributes = isNew() ? 0 : 
::com::sun::star::beans::PropertyAttribute::READONLY;
-                               }
-                       }
+            /** helper for derived classes to implement 
OPropertyArrayUsageHelper::createArrayHelper
+
+                This method just calls describeProperties, and flags all 
properties as READONLY if and
+                only if we do *not* act as descriptor, but as final object.
+
+                @seealso    isNew
+            */
+            ::cppu::IPropertyArrayHelper*   doCreateArrayHelper() const;
+
                private:
                        comphelper::UStringMixEqual     m_aCase;
                        sal_Bool                                        m_bNew;




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

Reply via email to