summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/accessibletabbar.cxx6
-rw-r--r--accessibility/source/helper/acc_factory.cxx2
2 files changed, 2 insertions, 6 deletions
diff --git a/accessibility/source/extended/accessibletabbar.cxx b/accessibility/source/extended/accessibletabbar.cxx
index 9942ab4f21fa..55318298d1ae 100644
--- a/accessibility/source/extended/accessibletabbar.cxx
+++ b/accessibility/source/extended/accessibletabbar.cxx
@@ -349,10 +349,7 @@ namespace accessibility
return Application::GetSettings().GetLanguageTag().getLocale();
}
-
// XAccessibleComponent
-
-
Reference< XAccessible > AccessibleTabBar::getAccessibleAtPoint( const awt::Point& rPoint )
{
OExternalLockGuard aGuard( this );
@@ -370,7 +367,7 @@ namespace accessibility
Point aPos = VCLUnoHelper::ConvertToVCLPoint(rPoint);
if ( aRect.Contains( aPos ) )
{
- xChild = xAcc;
+ xChild = std::move(xAcc);
break;
}
}
@@ -380,7 +377,6 @@ namespace accessibility
return xChild;
}
-
void AccessibleTabBar::grabFocus( )
{
OExternalLockGuard aGuard( this );
diff --git a/accessibility/source/helper/acc_factory.cxx b/accessibility/source/helper/acc_factory.cxx
index f6d861f4c5ee..d7df60d69ae0 100644
--- a/accessibility/source/helper/acc_factory.cxx
+++ b/accessibility/source/helper/acc_factory.cxx
@@ -319,7 +319,7 @@ Reference< XAccessibleContext > AccessibleFactory::createAccessibleContext( VCLX
if ( pWindow->GetType() == WindowType::MENUBARWINDOW ||
( xCont.is() && xCont->getAccessibleRole() == AccessibleRole::POPUP_MENU ) )
{
- xContext = xCont;
+ xContext = std::move(xCont);
}
}
}