summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-18 08:56:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-18 08:57:16 +0200
commit96b8a84118e0195be03983bde0b3448f3a216bd2 (patch)
treecbeebf578247a803c860aae190e7811814198998 /vcl
parent19eab7b79c13edc657f4e3f380889ed0206357bd (diff)
loplugin:redundantcast
Change-Id: I1b1c348311930499e9ee971b87257db40f3873b3
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/tabdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/tabdlg.cxx b/vcl/source/window/tabdlg.cxx
index 99da7cc242ce..6c97b1f29c1e 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)
{