From 618dc924b4d28a9d50bfcc4d35748cc1363bd92f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 3 Apr 2014 15:48:52 +0200 Subject: Remove unused functions Change-Id: Iac147aef89e7f8be2f3d16e434c76d57a950d591 --- .../extended/AccessibleBrowseBoxBase.hxx | 31 +++++----------------- 1 file changed, 6 insertions(+), 25 deletions(-) (limited to 'accessibility/inc') diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx index df4e36f0ed74..98c42e306f25 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 + +#include #include #include #include @@ -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 -- cgit v1.2.3