summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-06-30 14:05:47 +0300
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-06-30 17:55:34 +0000
commit1a4da5839546fd2a1d446a5eeb459ed981e873f3 (patch)
treeba344ea0c00fc402dd164998ce386676163977e0 /svx
parent14e31d6cf4c4ba8a28b932c77994bc905686dba5 (diff)
Rename GetFoucsPosIndex() to GetFocusPosIndex()
Change-Id: Ic05d69976d053037c9d02cf5f8b843c6b590000c Reviewed-on: https://gerrit.libreoffice.org/26803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/svxpixelctlaccessiblecontext.cxx4
-rw-r--r--svx/source/dialog/dlgctrl.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
index 230cc6ebfd4a..0253d2424483 100644
--- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
@@ -329,7 +329,7 @@ sal_Bool SAL_CALL SvxPixelCtlAccessible::isAccessibleChildSelected( sal_Int32 nC
{
::osl::MutexGuard aGuard( m_aMutex );
- return mrPixelCtl.GetFoucsPosIndex() == nChildIndex;
+ return mrPixelCtl.GetFocusPosIndex() == nChildIndex;
}
void SAL_CALL SvxPixelCtlAccessible::clearAccessibleSelection( ) throw (RuntimeException, std::exception)
@@ -704,7 +704,7 @@ uno::Reference< XAccessibleStateSet > SAL_CALL SvxPixelCtlAccessibleChild::getAc
pStateSetHelper->AddState( AccessibleStateType::SHOWING );
pStateSetHelper->AddState( AccessibleStateType::VISIBLE );
- long nIndex = mrParentWindow.GetFoucsPosIndex();
+ long nIndex = mrParentWindow.GetFocusPosIndex();
if ( nIndex == mnIndexInParent)
{
pStateSetHelper->AddState( AccessibleStateType::SELECTED );
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index 0d3b62686cda..9c75ffafd0b6 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -771,7 +771,7 @@ Point SvxPixelCtl::IndexToPoint(long nIndex) const
return aPtTl;
}
-long SvxPixelCtl::GetFoucsPosIndex() const
+long SvxPixelCtl::GetFocusPosIndex() const
{
return aFocusPosition.getX() + aFocusPosition.getY() * nLines ;
}
@@ -795,7 +795,7 @@ long SvxPixelCtl::ShowPosition( const Point &pt)
if (pTabPage && WINDOW_TABPAGE == pTabPage->GetType())
static_cast<SvxTabPage*>(pTabPage)->PointChanged( this, RP_MM ); // RectPoint ist dummy
- return GetFoucsPosIndex();
+ return GetFocusPosIndex();
}
@@ -1006,7 +1006,7 @@ void SvxPixelCtl::KeyInput( const KeyEvent& rKEvt )
}
if(m_xAccess.is())
{
- long nIndex = GetFoucsPosIndex();
+ long nIndex = GetFocusPosIndex();
switch(nCode)
{
case KEY_LEFT:
@@ -1039,7 +1039,7 @@ void SvxPixelCtl::GetFocus()
if(m_pAccess)
{
- m_pAccess->NotifyChild(GetFoucsPosIndex(),true,false);
+ m_pAccess->NotifyChild(GetFocusPosIndex(),true,false);
}
Control::GetFocus();