diff options
Diffstat (limited to 'sd/source/ui/table/tableobjectbar.cxx')
-rw-r--r-- | sd/source/ui/table/tableobjectbar.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/table/tableobjectbar.cxx b/sd/source/ui/table/tableobjectbar.cxx index b46090f1e7eb..f31f4f3da228 100644 --- a/sd/source/ui/table/tableobjectbar.cxx +++ b/sd/source/ui/table/tableobjectbar.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -95,9 +95,9 @@ SFX_IMPL_INTERFACE( TableObjectBar, SfxShell, SdResId( STR_TABLEOBJECTBARSHELL ) // ----------------------------------------------------------------------------- TableObjectBar::TableObjectBar( ViewShell* pSdViewShell, ::sd::View* pSdView ) -: SfxShell( pSdViewShell->GetViewShell() ) -, mpView( pSdView ) -, mpViewSh( pSdViewShell ) +: SfxShell( pSdViewShell->GetViewShell() ) +, mpView( pSdView ) +, mpViewSh( pSdViewShell ) { DrawDocShell* pDocShell = mpViewSh->GetDocSh(); if( pDocShell ) @@ -177,7 +177,7 @@ void TableObjectBar::Execute( SfxRequest& rReq ) rReq.AppendItem( SfxInt16Item( (USHORT)nSlotId, (sal_uInt16)pDlg->getInsertCount() ) ); rReq.AppendItem( SfxBoolItem( SID_TABLE_PARAM_INSERT_AFTER, !pDlg->isInsertBefore() ) ); - + rReq.SetSlot( (USHORT)nSlotId ); } } |