summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-16 23:08:41 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-16 23:10:30 +0300
commitc3fa18254a24c1f260ff655fce9f100da800a28c (patch)
tree654e8dd5f77f2278ab473e3a2fd55ac28f90ecb3 /sfx2
parent187a592df9bc9c1ef4b53fe6dce40a3c74f6bb67 (diff)
Fix error: cannot cast from type 'int' to pointer type 'SfxChild_Impl *'
Change-Id: Ic38b7fcb07d0cbc9a701207e0085b42d3471a786
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/workwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 435bdddde90c..195278ebdc8b 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();