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

Matúš Kukan matus.kukan at gmail.com
Sat Dec 19 00:30:08 PST 2015


 svx/source/sdr/contact/viewobjectcontactofpageobj.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dd258f168f7e5952a71d84a2564c3d5162a613c8
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Sat Dec 19 09:29:53 2015 +0100

    loplugin:redundantcast
    
    Change-Id: Ie80a8e8132214164a4a237b0e5ea89c1b41d8ee3

diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
index 03516df..2b11b23 100644
--- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
@@ -138,7 +138,7 @@ drawinglayer::primitive2d::Primitive2DContainer PagePrimitiveExtractor::createPr
             // PagePreviewPrimitive2D::create2DDecomposition)
             basegfx::B2DRange(),
 
-            GetXDrawPageForSdrPage(const_cast< SdrPage* >(pStartPage)),
+            GetXDrawPageForSdrPage(pStartPage),
             0.0, // no time; page previews are not animated
             rOriginalViewInformation.getExtendedInformationSequence());
         updateViewInformation2D(aNewViewInformation2D);


More information about the Libreoffice-commits mailing list