diff options
Diffstat (limited to 'sc/source/ui/drawfunc/mediash.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/mediash.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/drawfunc/mediash.cxx b/sc/source/ui/drawfunc/mediash.cxx index 542573e39fa9..ec1e4ae41e38 100644 --- a/sc/source/ui/drawfunc/mediash.cxx +++ b/sc/source/ui/drawfunc/mediash.cxx @@ -2,7 +2,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 @@ -74,15 +74,15 @@ void ScMediaShell::GetMediaState( SfxItemSet& rSet ) if( pView ) { - SfxWhichIter aIter( rSet ); - USHORT nWhich = aIter.FirstWhich(); + SfxWhichIter aIter( rSet ); + USHORT nWhich = aIter.FirstWhich(); while( nWhich ) { if( SID_AVMEDIA_TOOLBOX == nWhich ) { - SdrMarkList* pMarkList = new SdrMarkList( pView->GetMarkedObjectList() ); - bool bDisable = true; + SdrMarkList* pMarkList = new SdrMarkList( pView->GetMarkedObjectList() ); + bool bDisable = true; if( 1 == pMarkList->GetMarkCount() ) { @@ -115,8 +115,8 @@ void ScMediaShell::ExecuteMedia( SfxRequest& rReq ) if( pView && SID_AVMEDIA_TOOLBOX == rReq.GetSlot() ) { - const SfxItemSet* pArgs = rReq.GetArgs(); - const SfxPoolItem* pItem; + const SfxItemSet* pArgs = rReq.GetArgs(); + const SfxPoolItem* pItem; if( !pArgs || ( SFX_ITEM_SET != pArgs->GetItemState( SID_AVMEDIA_TOOLBOX, FALSE, &pItem ) ) ) pItem = NULL; |