From 8bf1d2c7cfe744ca923139d880c1330f35a833c1 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 27 Jun 2015 13:38:18 +0200 Subject: WaE: redundant const_cast --- sfx2/source/dialog/templdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/dialog/templdlg.cxx') diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 6bc67fb9e5c8..47f2e1dc6ec3 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(&rDevice), const_cast(&rEntry), mpViewData); + SvLBoxString::InitViewData( &rDevice, const_cast(&rEntry), mpViewData); } } } -- cgit