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

David Tardon dtardon at redhat.com
Sat Jun 27 04:39:20 PDT 2015


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

New commits:
commit 8bf1d2c7cfe744ca923139d880c1330f35a833c1
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Jun 27 13:38:18 2015 +0200

    WaE: redundant const_cast

diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 6bc67fb..47f2e1d 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -146,7 +146,7 @@ void StyleLBoxString::Paint(
             }
             else if (bInit)
             {
-                SvLBoxString::InitViewData( const_cast<SvTreeListBox*>(&rDevice), const_cast<SvTreeListEntry*>(&rEntry), mpViewData);
+                SvLBoxString::InitViewData( &rDevice, const_cast<SvTreeListEntry*>(&rEntry), mpViewData);
             }
         }
     }


More information about the Libreoffice-commits mailing list