diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:37:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:37:50 +0200 |
commit | 7d81894613e8697f9291fb8c346b444cf024a786 (patch) | |
tree | 14e7728416268503571b8a910296b1e3700d60b3 /dbaccess/source/ui/dlg/tablespage.cxx | |
parent | 7255c15cf5dd17701542c3769e948ffc089212d2 (diff) |
Improved loplugin:redundantcast static_cast handling: dbaccess
Change-Id: I4037cff3213f9885353ba0f5a810ceba68cb17b5
Diffstat (limited to 'dbaccess/source/ui/dlg/tablespage.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/tablespage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index 9139bef7c531..c6b45907751f 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -406,8 +406,8 @@ namespace dbaui } IMPL_LINK( OTableSubscriptionPage, OnTreeEntryCompare, const SvSortData&, _rSortData, sal_Int32 ) { - const SvTreeListEntry* pLHS = static_cast<const SvTreeListEntry*>(_rSortData.pLeft); - const SvTreeListEntry* pRHS = static_cast<const SvTreeListEntry*>(_rSortData.pRight); + const SvTreeListEntry* pLHS = _rSortData.pLeft; + const SvTreeListEntry* pRHS = _rSortData.pRight; OSL_ENSURE(pLHS && pRHS, "SbaTableQueryBrowser::OnTreeEntryCompare: invalid tree entries!"); const SvLBoxString* pLeftTextItem = static_cast<const SvLBoxString*>(pLHS->GetFirstItem(SvLBoxItemType::String)); |