summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-14 15:52:39 +0200
committerNoel Grandin <noel@peralex.com>2014-04-15 09:02:32 +0200
commitcfddda092b0c105b5be7942a94cbbd88d55677f1 (patch)
tree4d4f9892f9fe158906b5927278bcd6f4a051d93e
parent8fbbd1bd988f0e886095e012c48d93b999773273 (diff)
sal_Bool to bool in SvtRulerAccessible
Change-Id: Ib5f451fadb9eedc49d6bded0cbd92cfbbde71bae
-rw-r--r--include/svtools/accessibleruler.hxx38
-rw-r--r--svtools/source/control/accessibleruler.cxx10
2 files changed, 24 insertions, 24 deletions
diff --git a/include/svtools/accessibleruler.hxx b/include/svtools/accessibleruler.hxx
index 13c0a6ba6a2f..ffaebca35772 100644
--- a/include/svtools/accessibleruler.hxx
+++ b/include/svtools/accessibleruler.hxx
@@ -67,6 +67,25 @@ public:
protected:
virtual ~SvtRulerAccessible();
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 =====================================================
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL
@@ -92,25 +111,6 @@ public:
virtual ::com::sun::star::awt::Size SAL_CALL
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
grabFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/svtools/source/control/accessibleruler.cxx b/svtools/source/control/accessibleruler.cxx
index c9d55b98324e..acd7010d3741 100644
--- a/svtools/source/control/accessibleruler.cxx
+++ b/svtools/source/control/accessibleruler.cxx
@@ -119,12 +119,12 @@ awt::Size SAL_CALL SvtRulerAccessible::getSize() throw( RuntimeException, std::e
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 );
@@ -133,9 +133,9 @@ sal_Bool SAL_CALL SvtRulerAccessible::isVisible() throw( RuntimeException )
return mpRepr->IsVisible();
}
-sal_Bool SAL_CALL SvtRulerAccessible::isFocusTraversable() throw( RuntimeException )
+bool SAL_CALL SvtRulerAccessible::isFocusTraversable() throw( RuntimeException )
{
- return sal_True;
+ return true;
}
//===== XAccessibleContext ==================================================