vcl/source/window/tabdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 96b8a84118e0195be03983bde0b3448f3a216bd2 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Aug 18 08:56:53 2016 +0200 loplugin:redundantcast Change-Id: I1b1c348311930499e9ee971b87257db40f3873b3 diff --git a/vcl/source/window/tabdlg.cxx b/vcl/source/window/tabdlg.cxx index 99da7cc..6c97b1f 100644 --- a/vcl/source/window/tabdlg.cxx +++ b/vcl/source/window/tabdlg.cxx @@ -327,7 +327,7 @@ std::vector<OString> TabDialog::getAllPageUIXMLDescriptions() const bool TabDialog::selectPageByUIXMLDescription(const OString& rUIXMLDescription) { - TabControl* pTabCtrl = dynamic_cast<TabControl*>(findTabControl(const_cast<TabDialog*>(this))); + TabControl* pTabCtrl = dynamic_cast<TabControl*>(findTabControl(this)); if (pTabCtrl) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits