[Libreoffice-commits] core.git: sfx2/source

Stephan Bergmann sbergman at redhat.com
Thu Aug 18 07:08:55 UTC 2016


 sfx2/source/dialog/tabdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 223c2258368e113beb7f5e6f2508dae7b394e26d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 18 09:08:23 2016 +0200

    loplugin:redundantcast
    
    Change-Id: Iacdb05dd6c0c486975ac544a0a8a68abed80db67

diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 878d9fad..6d00f035 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);
         }
 


More information about the Libreoffice-commits mailing list