Tag: cws_src680_oj14
User: oj      
Date: 2007-06-06 08:39:17+0000
Modified:
   dba/reportdesign/source/ui/inspection/DefaultInspection.cxx
   dba/reportdesign/source/ui/inc/DefaultInspection.hxx

Log:
 IsReadOnly missing

File Changes:

Directory: /dba/reportdesign/source/ui/inspection/
==================================================

File [changed]: DefaultInspection.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inspection/DefaultInspection.cxx?r1=1.1.2.1&r2=1.1.2.2
Delta lines:  +15 -2
--------------------
--- DefaultInspection.cxx       2007-05-09 13:59:38+0000        1.1.2.1
+++ DefaultInspection.cxx       2007-06-06 08:39:14+0000        1.1.2.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: DefaultInspection.cxx,v $
  *
- *  $Revision: 1.1.2.1 $
+ *  $Revision: 1.1.2.2 $
  *
- *  last change: $Author: oj $ $Date: 2007/05/09 13:59:38 $
+ *  last change: $Author: oj $ $Date: 2007/06/06 08:39:14 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -104,6 +104,7 @@
         :m_xContext( _rxContext )
         ,m_bConstructed( false )
         ,m_bHasHelpSection( false )
+        ,m_bIsReadOnly(sal_False)
         ,m_nMinHelpTextLines( 3 )
         ,m_nMaxHelpTextLines( 8 )
         ,m_pInfoService(new OPropertyInfoService())
@@ -198,6 +199,18 @@
         ::osl::MutexGuard aGuard(m_aMutex);
         return m_nMinHelpTextLines;
     }
+    //--------------------------------------------------------------------
+    ::sal_Bool SAL_CALL DefaultComponentInspectorModel::getIsReadOnly() throw 
(::com::sun::star::uno::RuntimeException)
+    {
+        ::osl::MutexGuard aGuard(m_aMutex);
+        return m_bIsReadOnly;
+    }
+    //--------------------------------------------------------------------
+    void SAL_CALL DefaultComponentInspectorModel::setIsReadOnly( ::sal_Bool 
_isreadonly ) throw (::com::sun::star::uno::RuntimeException)
+    {
+        ::osl::MutexGuard aGuard(m_aMutex);
+        m_bIsReadOnly = _isreadonly;
+    }
     
     //--------------------------------------------------------------------
     ::sal_Int32 SAL_CALL DefaultComponentInspectorModel::getMaxHelpTextLines() 
throw (RuntimeException)

Directory: /dba/reportdesign/source/ui/inc/
===========================================

File [changed]: DefaultInspection.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/DefaultInspection.hxx?r1=1.1.2.1&r2=1.1.2.2
Delta lines:  +6 -2
-------------------
--- DefaultInspection.hxx       2007-05-09 13:56:40+0000        1.1.2.1
+++ DefaultInspection.hxx       2007-06-06 08:39:14+0000        1.1.2.2
@@ -6,9 +6,9 @@
  *
  *  $RCSfile: DefaultInspection.hxx,v $
  *
- *  $Revision: 1.1.2.1 $
+ *  $Revision: 1.1.2.2 $
  *
- *  last change: $Author: oj $ $Date: 2007/05/09 13:56:40 $
+ *  last change: $Author: oj $ $Date: 2007/06/06 08:39:14 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -76,6 +76,7 @@
         ::com::sun::star::uno::Reference< 
::com::sun::star::inspection::XObjectInspectorModel > m_xComponent; /// 
delegatee
         bool                                                                   
                 m_bConstructed;
         bool                                                                   
                 m_bHasHelpSection;
+        sal_Bool                                                               
                 m_bIsReadOnly;
         sal_Int32                                                              
                 m_nMinHelpTextLines;
         sal_Int32                                                              
                 m_nMaxHelpTextLines;
         /// access to property meta data
@@ -96,6 +97,9 @@
         virtual ::sal_Bool SAL_CALL getHasHelpSection() throw 
(::com::sun::star::uno::RuntimeException);
         virtual ::sal_Int32 SAL_CALL getMinHelpTextLines() throw 
(::com::sun::star::uno::RuntimeException);
         virtual ::sal_Int32 SAL_CALL getMaxHelpTextLines() throw 
(::com::sun::star::uno::RuntimeException);
+        virtual ::sal_Bool SAL_CALL getIsReadOnly() throw 
(::com::sun::star::uno::RuntimeException);
+        virtual void SAL_CALL setIsReadOnly( ::sal_Bool _isreadonly ) throw 
(::com::sun::star::uno::RuntimeException);
+
         virtual ::com::sun::star::uno::Sequence< 
::com::sun::star::inspection::PropertyCategoryDescriptor > SAL_CALL 
describeCategories(  ) throw (::com::sun::star::uno::RuntimeException);
         virtual ::sal_Int32 SAL_CALL getPropertyOrderIndex( const 
::rtl::OUString& PropertyName ) throw (::com::sun::star::uno::RuntimeException);
 




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

Reply via email to