summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-18 09:08:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-18 09:08:23 +0200
commit223c2258368e113beb7f5e6f2508dae7b394e26d (patch)
treece85d70d40b3d53c03b0c1ec098a6c3c6dca8fd7 /sfx2/source
parent96b8a84118e0195be03983bde0b3448f3a216bd2 (diff)
loplugin:redundantcast
Change-Id: Iacdb05dd6c0c486975ac544a0a8a68abed80db67
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 878d9fad59d1..6d00f035a72a 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -1366,7 +1366,7 @@ bool SfxTabDialog::selectPageByUIXMLDescription(const OString& rUIXMLDescription
if (!pCandidate)
{
// force SfxTabPage creation
- const_cast<SfxTabDialog*>(this)->ShowPage((*it)->nId);
+ ShowPage((*it)->nId);
pCandidate = GetTabPage((*it)->nId);
}