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

Stephan Bergmann sbergman at redhat.com
Mon Dec 9 05:59:33 PST 2013


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

New commits:
commit fa7c24e0e7b300fb7ac6ff7202a57eb1c60eb0b6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Dec 9 14:58:29 2013 +0100

    implicit conversion of NULL constant to 'bool' [-Werror,-Wnull-conversion]
    
    ...after 8a8981c603d2f45d0fac656e5b4b31bcabfabc92 "GetBasic and m_pBasic are
    unused."
    
    Change-Id: I7ccfcdcc3a7b005185a1de3050f3cccbc741f073

diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index 150e2cc..0bf65e5 100644
--- a/svx/source/unodraw/unomod.cxx
+++ b/svx/source/unodraw/unomod.cxx
@@ -680,7 +680,7 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SvxUnoDrawPagesAccess::insertNewBy
         SdrPage* pPage;
 
         if( PTR_CAST( FmFormModel, mrModel.mpDoc ) )
-            pPage = new FmFormPage(*(FmFormModel*)mrModel.mpDoc, NULL);
+            pPage = new FmFormPage(*(FmFormModel*)mrModel.mpDoc);
         else
             pPage = new SdrPage(*mrModel.mpDoc);
 


More information about the Libreoffice-commits mailing list