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

Tor Lillqvist tml at collabora.com
Tue Jul 26 11:31:51 UTC 2016


 svx/source/svdraw/svdpntv.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 20438e3e63bc78e877f344437448a038a8a01985
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Jul 26 14:30:03 2016 +0300

    loplugin:redundantcast
    
    Change-Id: I4b7341a180271d5e0f9b06a9815d1914d698eb11

diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index 8b6dbdb..9b08078 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -755,7 +755,7 @@ void SdrPaintView::EndCompleteRedraw(SdrPaintWindow& rPaintWindow, bool bPaintFo
 
                     if (pView->IsTextEdit() && pView->GetSdrPageView())
                     {
-                        static_cast<SdrView*>(pView)->TextEditDrawing(rPaintWindow);
+                        pView->TextEditDrawing(rPaintWindow);
                     }
                 }
             }


More information about the Libreoffice-commits mailing list