Kaydet (Commit) cfddda09 authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool to bool in SvtRulerAccessible

Change-Id: Ib5f451fadb9eedc49d6bded0cbd92cfbbde71bae
üst 8fbbd1bd
...@@ -67,6 +67,25 @@ public: ...@@ -67,6 +67,25 @@ public:
protected: protected:
virtual ~SvtRulerAccessible(); virtual ~SvtRulerAccessible();
public: public:
virtual bool SAL_CALL
isShowing() throw( ::com::sun::star::uno::RuntimeException );
virtual bool SAL_CALL
isVisible() throw( ::com::sun::star::uno::RuntimeException );
virtual bool SAL_CALL
isFocusTraversable() throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL
addFocusListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener )
throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL
removeFocusListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener )
throw( ::com::sun::star::uno::RuntimeException );
//===== XAccessible ===================================================== //===== XAccessible =====================================================
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL
...@@ -92,25 +111,6 @@ public: ...@@ -92,25 +111,6 @@ public:
virtual ::com::sun::star::awt::Size SAL_CALL virtual ::com::sun::star::awt::Size SAL_CALL
getSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; getSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL
isShowing() throw( ::com::sun::star::uno::RuntimeException );
virtual sal_Bool SAL_CALL
isVisible() throw( ::com::sun::star::uno::RuntimeException );
virtual sal_Bool SAL_CALL
isFocusTraversable() throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL
addFocusListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener )
throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL
removeFocusListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener )
throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL virtual void SAL_CALL
grabFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; grabFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
......
...@@ -119,12 +119,12 @@ awt::Size SAL_CALL SvtRulerAccessible::getSize() throw( RuntimeException, std::e ...@@ -119,12 +119,12 @@ awt::Size SAL_CALL SvtRulerAccessible::getSize() throw( RuntimeException, std::e
return AWTSize( GetBoundingBox().GetSize() ); return AWTSize( GetBoundingBox().GetSize() );
} }
sal_Bool SAL_CALL SvtRulerAccessible::isShowing() throw( RuntimeException ) bool SAL_CALL SvtRulerAccessible::isShowing() throw( RuntimeException )
{ {
return sal_True; return true;
} }
sal_Bool SAL_CALL SvtRulerAccessible::isVisible() throw( RuntimeException ) bool SAL_CALL SvtRulerAccessible::isVisible() throw( RuntimeException )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
...@@ -133,9 +133,9 @@ sal_Bool SAL_CALL SvtRulerAccessible::isVisible() throw( RuntimeException ) ...@@ -133,9 +133,9 @@ sal_Bool SAL_CALL SvtRulerAccessible::isVisible() throw( RuntimeException )
return mpRepr->IsVisible(); return mpRepr->IsVisible();
} }
sal_Bool SAL_CALL SvtRulerAccessible::isFocusTraversable() throw( RuntimeException ) bool SAL_CALL SvtRulerAccessible::isFocusTraversable() throw( RuntimeException )
{ {
return sal_True; return true;
} }
//===== XAccessibleContext ================================================== //===== XAccessibleContext ==================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment