summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-03 15:48:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-03 15:49:14 +0200
commit618dc924b4d28a9d50bfcc4d35748cc1363bd92f (patch)
tree1823964f796e67018e3d8519e916f207b81085fa /accessibility
parente813b9c2593ccfdf39761ed9bf446ef73d881e75 (diff)
Remove unused functions
Change-Id: Iac147aef89e7f8be2f3d16e434c76d57a950d591
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx31
1 files changed, 6 insertions, 25 deletions
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 <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