summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-21 14:46:13 +0200
committerNoel Grandin <noel@peralex.com>2015-10-21 15:10:24 +0200
commita673713bb35321eaef7ce9f35f5407e0174b664e (patch)
treef07eb91f33f15ddf32849b057f7844966438bac7 /accessibility
parentddee0e30ec93da3b842ee6822980b0a99fa206ce (diff)
more removal of com::sun::star typedefs
Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/AccessibleToolPanelDeck.cxx4
-rw-r--r--accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx6
2 files changed, 3 insertions, 7 deletions
diff --git a/accessibility/source/extended/AccessibleToolPanelDeck.cxx b/accessibility/source/extended/AccessibleToolPanelDeck.cxx
index e9dd6774ef41..5c195440ffd2 100644
--- a/accessibility/source/extended/AccessibleToolPanelDeck.cxx
+++ b/accessibility/source/extended/AccessibleToolPanelDeck.cxx
@@ -62,8 +62,6 @@ namespace accessibility
namespace AccessibleEventId = ::com::sun::star::accessibility::AccessibleEventId;
namespace AccessibleStateType = ::com::sun::star::accessibility::AccessibleStateType;
- typedef css::awt::Point UnoPoint;
-
// AccessibleToolPanelDeck_Impl - declaration
class AccessibleToolPanelDeck_Impl :public ::boost::noncopyable
,public ::svt::IToolPanelDeckListener
@@ -285,7 +283,7 @@ namespace accessibility
return AccessibleRole::PANEL;
}
- Reference< XAccessible > SAL_CALL AccessibleToolPanelDeck::getAccessibleAtPoint( const UnoPoint& i_rPoint ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleToolPanelDeck::getAccessibleAtPoint( const css::awt::Point& i_rPoint ) throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *m_xImpl );
diff --git a/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx b/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx
index a41add67d371..14509f619cb9 100644
--- a/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx
+++ b/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx
@@ -63,8 +63,6 @@ namespace accessibility
namespace AccessibleEventId = ::com::sun::star::accessibility::AccessibleEventId;
namespace AccessibleStateType = ::com::sun::star::accessibility::AccessibleStateType;
- typedef css::awt::Point UnoPoint;
-
// AccessibleWrapper
typedef ::cppu::WeakImplHelper< XAccessible > AccessibleWrapper_Base;
class AccessibleWrapper : public AccessibleWrapper_Base
@@ -340,12 +338,12 @@ namespace accessibility
}
}
- Reference< XAccessible > SAL_CALL AccessibleToolPanelTabBar::getAccessibleAtPoint( const UnoPoint& i_rPoint ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleToolPanelTabBar::getAccessibleAtPoint( const css::awt::Point& i_rPoint ) throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *m_xImpl );
// check the tab items
- const UnoPoint aOwnScreenPos( getLocationOnScreen() );
+ const css::awt::Point aOwnScreenPos( getLocationOnScreen() );
const ::Point aRequestedScreenPoint( i_rPoint.X + aOwnScreenPos.X, i_rPoint.Y + aOwnScreenPos.Y );
for ( size_t i=0; i<m_xImpl->getPanelDeck()->GetPanelCount(); ++i )