[Libreoffice-commits] core.git: accessibility/inc

Stephan Bergmann sbergman at redhat.com
Thu Apr 3 06:49:39 PDT 2014


 accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx |   31 +---------
 1 file changed, 6 insertions(+), 25 deletions(-)

New commits:
commit 618dc924b4d28a9d50bfcc4d35748cc1363bd92f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 3 15:48:52 2014 +0200

    Remove unused functions
    
    Change-Id: Iac147aef89e7f8be2f3d16e434c76d57a950d591

diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
index df4e36f..98c42e3 100644
--- a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
@@ -21,6 +21,9 @@
 #ifndef ACCESSIBILITY_EXT_ACCESSIBLEBROWSEBOXBASE_HXX
 #define ACCESSIBILITY_EXT_ACCESSIBLEBROWSEBOXBASE_HXX
 
+#include <sal/config.h>
+
+#include <boost/noncopyable.hpp>
 #include <svtools/AccessibleBrowseBoxObjType.hxx>
 #include <rtl/ustring.hxx>
 #include <tools/gen.hxx>
@@ -78,7 +81,7 @@ class AccessibleBrowseBoxBase :
 public:
     /** Constructor sets specified name and description. If the constant of a
         text is BBTEXT_NONE, the derived class has to set the text via
-        implSetName() and implSetDescription() (in Ctor) or later via
+        implSetName() (in Ctor) or later via
         setAccessibleName() and setAccessibleDescription() (these methods
         notify the listeners about the change).
         @param rxParent  XAccessible interface of the parent object.
@@ -302,15 +305,10 @@ protected:
 
     /** @return  The ::osl::Mutex member provided by the class OBaseMutex. */
     inline ::osl::Mutex& getOslMutex();
-    /** @return  Pointer to the global ::osl::Mutex. */
-    static inline ::osl::Mutex* getOslGlobalMutex();
 
     /** Changes the name of the object (flat assignment, no notify).
         @attention  This method requires a locked mutex. */
     inline void implSetName( const OUString& rName );
-    /** Changes the description of the object (flat assignment, no notify).
-        @attention  This method requires a locked mutex. */
-    inline void implSetDescription( const OUString& rDescription );
 
     /** Locks all mutex's and calculates the bounding box relative to the
         parent window.
@@ -368,11 +366,12 @@ typedef ::cppu::ImplHelper1 <   ::com::sun::star::accessibility::XAccessible
 class BrowseBoxAccessibleElement
             :public AccessibleBrowseBoxBase
             ,public BrowseBoxAccessibleElement_Base
+            ,private boost::noncopyable
 {
 protected:
     /** Constructor sets specified name and description. If the constant of a
         text is BBTEXT_NONE, the derived class has to set the text via
-        implSetName() and implSetDescription() (in Ctor) or later via
+        implSetName() (in Ctor) or later via
         setAccessibleName() and setAccessibleDescription() (these methods
         notify the listeners about the change).
 
@@ -421,11 +420,6 @@ protected:
         ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL
     getAccessibleContext()
         throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
-
-private:
-    BrowseBoxAccessibleElement();                                               // never implemented
-    BrowseBoxAccessibleElement( const BrowseBoxAccessibleElement& );            // never implemented
-    BrowseBoxAccessibleElement& operator=( const BrowseBoxAccessibleElement& ); // never implemented
 };
 
 
@@ -457,25 +451,12 @@ inline ::osl::Mutex& AccessibleBrowseBoxBase::getOslMutex()
     return m_aMutex;
 }
 
-inline ::osl::Mutex* AccessibleBrowseBoxBase::getOslGlobalMutex()
-{
-    return ::osl::Mutex::getGlobalMutex();
-}
-
 inline void AccessibleBrowseBoxBase::implSetName(
         const OUString& rName )
 {
     maName = rName;
 }
 
-inline void AccessibleBrowseBoxBase::implSetDescription(
-        const OUString& rDescription )
-{
-    maDescription = rDescription;
-}
-
-
-
 } // namespace accessibility
 
 


More information about the Libreoffice-commits mailing list