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

Tor Lillqvist tml at iki.fi
Tue Apr 16 13:11:02 PDT 2013


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

New commits:
commit c3fa18254a24c1f260ff655fce9f100da800a28c
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Apr 16 23:08:41 2013 +0300

    Fix error: cannot cast from type 'int' to pointer type 'SfxChild_Impl *'
    
    Change-Id: Ic38b7fcb07d0cbc9a701207e0085b42d3471a786

diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 435bddd..195278e 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -615,7 +615,7 @@ SfxWorkWindow::SfxWorkWindow( Window *pWin, SfxBindings& rB, SfxWorkWindow* pPar
 
     // For the ObjectBars a integral place in the Childlist is reserved,
     // so that they always come in a defined order.
-    aChildren.insert( aChildren.begin(), SFX_OBJECTBAR_MAX, NULL );
+    aChildren.insert( aChildren.begin(), SFX_OBJECTBAR_MAX, (SfxChild_Impl*)NULL );
 
     // create and initialize layout manager listener
     Reference< com::sun::star::frame::XFrame > xFrame = GetFrameInterface();


More information about the Libreoffice-commits mailing list