summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}