summaryrefslogtreecommitdiffstats
path: root/accessibility/source/extended
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-13 12:35:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-13 12:36:36 +0200
commit373a9b9bb62c50072c06e28fd932afb6e71ba687 (patch)
treedc6b72474110a4311d7ab57d42dc4bda5c221e4b /accessibility/source/extended
parentandroid: hide the keyboard when scrolling velocity exceeds 18 (diff)
downloadcore-373a9b9bb62c50072c06e28fd932afb6e71ba687.tar.gz
core-373a9b9bb62c50072c06e28fd932afb6e71ba687.zip
loplugin:redundantcast: redundant const_cast followed by implicit upcast
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
Diffstat (limited to 'accessibility/source/extended')
-rw-r--r--accessibility/source/extended/accessiblelistbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/accessiblelistbox.cxx b/accessibility/source/extended/accessiblelistbox.cxx
index 3b1800ed99f8..ad24412be5a2 100644
--- a/accessibility/source/extended/accessiblelistbox.cxx
+++ b/accessibility/source/extended/accessiblelistbox.cxx
@@ -69,7 +69,7 @@ namespace accessibility
SvTreeListBox* AccessibleListBox::getListBox() const
{
- return static_cast< SvTreeListBox* >( const_cast<AccessibleListBox*>(this)->GetWindow() );
+ return static_cast< SvTreeListBox* >( GetWindow() );
}
void AccessibleListBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )