Remove unused functions
Change-Id: Iac147aef89e7f8be2f3d16e434c76d57a950d591
This commit is contained in:
@@ -21,6 +21,9 @@
|
|||||||
#ifndef ACCESSIBILITY_EXT_ACCESSIBLEBROWSEBOXBASE_HXX
|
#ifndef ACCESSIBILITY_EXT_ACCESSIBLEBROWSEBOXBASE_HXX
|
||||||
#define ACCESSIBILITY_EXT_ACCESSIBLEBROWSEBOXBASE_HXX
|
#define ACCESSIBILITY_EXT_ACCESSIBLEBROWSEBOXBASE_HXX
|
||||||
|
|
||||||
|
#include <sal/config.h>
|
||||||
|
|
||||||
|
#include <boost/noncopyable.hpp>
|
||||||
#include <svtools/AccessibleBrowseBoxObjType.hxx>
|
#include <svtools/AccessibleBrowseBoxObjType.hxx>
|
||||||
#include <rtl/ustring.hxx>
|
#include <rtl/ustring.hxx>
|
||||||
#include <tools/gen.hxx>
|
#include <tools/gen.hxx>
|
||||||
@@ -78,7 +81,7 @@ class AccessibleBrowseBoxBase :
|
|||||||
public:
|
public:
|
||||||
/** Constructor sets specified name and description. If the constant of a
|
/** Constructor sets specified name and description. If the constant of a
|
||||||
text is BBTEXT_NONE, the derived class has to set the text via
|
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
|
setAccessibleName() and setAccessibleDescription() (these methods
|
||||||
notify the listeners about the change).
|
notify the listeners about the change).
|
||||||
@param rxParent XAccessible interface of the parent object.
|
@param rxParent XAccessible interface of the parent object.
|
||||||
@@ -302,15 +305,10 @@ protected:
|
|||||||
|
|
||||||
/** @return The ::osl::Mutex member provided by the class OBaseMutex. */
|
/** @return The ::osl::Mutex member provided by the class OBaseMutex. */
|
||||||
inline ::osl::Mutex& getOslMutex();
|
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).
|
/** Changes the name of the object (flat assignment, no notify).
|
||||||
@attention This method requires a locked mutex. */
|
@attention This method requires a locked mutex. */
|
||||||
inline void implSetName( const OUString& rName );
|
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
|
/** Locks all mutex's and calculates the bounding box relative to the
|
||||||
parent window.
|
parent window.
|
||||||
@@ -368,11 +366,12 @@ typedef ::cppu::ImplHelper1 < ::com::sun::star::accessibility::XAccessible
|
|||||||
class BrowseBoxAccessibleElement
|
class BrowseBoxAccessibleElement
|
||||||
:public AccessibleBrowseBoxBase
|
:public AccessibleBrowseBoxBase
|
||||||
,public BrowseBoxAccessibleElement_Base
|
,public BrowseBoxAccessibleElement_Base
|
||||||
|
,private boost::noncopyable
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
/** Constructor sets specified name and description. If the constant of a
|
/** Constructor sets specified name and description. If the constant of a
|
||||||
text is BBTEXT_NONE, the derived class has to set the text via
|
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
|
setAccessibleName() and setAccessibleDescription() (these methods
|
||||||
notify the listeners about the change).
|
notify the listeners about the change).
|
||||||
|
|
||||||
@@ -421,11 +420,6 @@ protected:
|
|||||||
::com::sun::star::accessibility::XAccessibleContext > SAL_CALL
|
::com::sun::star::accessibility::XAccessibleContext > SAL_CALL
|
||||||
getAccessibleContext()
|
getAccessibleContext()
|
||||||
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
|
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;
|
return m_aMutex;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline ::osl::Mutex* AccessibleBrowseBoxBase::getOslGlobalMutex()
|
|
||||||
{
|
|
||||||
return ::osl::Mutex::getGlobalMutex();
|
|
||||||
}
|
|
||||||
|
|
||||||
inline void AccessibleBrowseBoxBase::implSetName(
|
inline void AccessibleBrowseBoxBase::implSetName(
|
||||||
const OUString& rName )
|
const OUString& rName )
|
||||||
{
|
{
|
||||||
maName = rName;
|
maName = rName;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void AccessibleBrowseBoxBase::implSetDescription(
|
|
||||||
const OUString& rDescription )
|
|
||||||
{
|
|
||||||
maDescription = rDescription;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} // namespace accessibility
|
} // namespace accessibility
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user