diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-11-06 02:49:11 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-11-17 16:48:29 -0500 |
commit | 10572108edba3342ee5ddc04ae3171afb75c9f1a (patch) | |
tree | fe3bd4f94c119fd235a82ccc545a3d478742442f /sc/source/ui/Accessibility | |
parent | 0bb4da6d7d988d98b466db23fae2061e47226d39 (diff) |
Ported my previous work into this branch. Not build-tested yet.
Diffstat (limited to 'sc/source/ui/Accessibility')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx b/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx index ea4865c91724..f4915eee443d 100644 --- a/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx +++ b/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx @@ -53,7 +53,7 @@ public: ScAccessibleDataPilotButton( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible>& rxParent, - ScDPFieldWindow* pDPFieldWindow, + ScDPFieldControlBase* pDPFieldWindow, sal_Int32 nIndex); virtual void Init(); @@ -146,14 +146,14 @@ protected: throw (::com::sun::star::uno::RuntimeException); private: - ScDPFieldWindow* mpDPFieldWindow; + ScDPFieldControlBase* mpDPFieldWindow; sal_Int32 mnIndex; }; //===== internal ======================================================== ScAccessibleDataPilotControl::ScAccessibleDataPilotControl( const uno::Reference<XAccessible>& rxParent, - ScDPFieldWindow* pDPFieldWindow) + ScDPFieldControlBase* pDPFieldWindow) : ScAccessibleContextBase(rxParent, AccessibleRole::GROUP_BOX), mpDPFieldWindow(pDPFieldWindow) @@ -381,7 +381,7 @@ sal_Int32 SAL_CALL ScAccessibleDataPilotControl::getBackground( ) sal_Int32 nColor(0); if (mpDPFieldWindow) { - if (mpDPFieldWindow->GetType() == TYPE_SELECT) + if (mpDPFieldWindow->GetFieldType() == TYPE_SELECT) { nColor = mpDPFieldWindow->GetSettings().GetStyleSettings().GetFaceColor().GetColor(); } @@ -527,7 +527,7 @@ Rectangle ScAccessibleDataPilotControl::GetBoundingBox(void) const ScAccessibleDataPilotButton::ScAccessibleDataPilotButton( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible>& rxParent, - ScDPFieldWindow* pDPFieldWindow, + ScDPFieldControlBase* pDPFieldWindow, sal_Int32 nIndex) : ScAccessibleContextBase(rxParent, AccessibleRole::PUSH_BUTTON), mpDPFieldWindow(pDPFieldWindow), |