[Libreoffice-commits] .: sc/source sc/uiconfig
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Tue Feb 22 12:34:03 PST 2011
sc/source/ui/app/scdll.cxx | 1 -
sc/source/ui/view/tabvwsh.cxx | 2 --
sc/source/ui/view/tabvwsh9.cxx | 15 ---------------
sc/uiconfig/scalc/menubar/menubar.xml | 1 -
4 files changed, 19 deletions(-)
New commits:
commit 60961f16886ae03317fb2e35218156aa972a3c5f
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Tue Feb 22 21:32:42 2011 +0100
Remove Tools -> Media Player from Calc
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index 53e3eb4..23959e7 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -290,7 +290,6 @@ void ScDLL::Init()
SvxIMapDlgChildWindow ::RegisterChildWindow(FALSE, pMod);
GalleryChildWindow ::RegisterChildWindow(FALSE, pMod);
ScSpellDialogChildWindow ::RegisterChildWindow(FALSE, pMod);
- ::avmedia::MediaPlayer ::RegisterChildWindow(FALSE, pMod);
ScValidityRefChildWin::RegisterChildWindow(FALSE, pMod);
diff --git a/sc/source/ui/view/tabvwsh.cxx b/sc/source/ui/view/tabvwsh.cxx
index f0ecfdc..d35d376 100644
--- a/sc/source/ui/view/tabvwsh.cxx
+++ b/sc/source/ui/view/tabvwsh.cxx
@@ -43,7 +43,6 @@
#include <sfx2/viewfrm.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/app.hxx>
-#include <avmedia/mediaplayer.hxx>
#include "tabvwsh.hxx"
#include "docsh.hxx"
@@ -96,7 +95,6 @@ SFX_IMPL_INTERFACE(ScTabViewShell,SfxViewShell,ScResId(SCSTR_TABVIEWSHELL))
SFX_CHILDWINDOW_REGISTRATION(SID_HYPERLINK_DIALOG);
SFX_CHILDWINDOW_REGISTRATION(GalleryChildWindow::GetChildWindowId());
SFX_CHILDWINDOW_REGISTRATION(ScSpellDialogChildWindow::GetChildWindowId());
- SFX_CHILDWINDOW_REGISTRATION( ::avmedia::MediaPlayer::GetChildWindowId() );
SFX_CHILDWINDOW_REGISTRATION(ScValidityRefChildWin::GetChildWindowId());
}
diff --git a/sc/source/ui/view/tabvwsh9.cxx b/sc/source/ui/view/tabvwsh9.cxx
index 8ec7504..b81df4d 100644
--- a/sc/source/ui/view/tabvwsh9.cxx
+++ b/sc/source/ui/view/tabvwsh9.cxx
@@ -43,7 +43,6 @@
#include <sfx2/viewfrm.hxx>
#include <sfx2/dispatch.hxx>
#include <svl/whiter.hxx>
-#include <avmedia/mediaplayer.hxx>
#include "tabvwsh.hxx"
#include "viewdata.hxx"
@@ -84,15 +83,6 @@ void ScTabViewShell::ExecChildWin(SfxRequest& rReq)
rReq.Ignore();
}
break;
-
- case SID_AVMEDIA_PLAYER:
- {
- SfxViewFrame* pThisFrame = GetViewFrame();
- pThisFrame->ToggleChildWindow( ::avmedia::MediaPlayer::GetChildWindowId() );
- pThisFrame->GetBindings().Invalidate( SID_AVMEDIA_PLAYER );
- rReq.Ignore();
- }
- break;
}
}
@@ -103,11 +93,6 @@ void ScTabViewShell::GetChildWinState( SfxItemSet& rSet )
USHORT nId = GalleryChildWindow::GetChildWindowId();
rSet.Put( SfxBoolItem( SID_GALLERY, GetViewFrame()->HasChildWindow( nId ) ) );
}
- else if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_AVMEDIA_PLAYER ) )
- {
- USHORT nId = ::avmedia::MediaPlayer::GetChildWindowId();
- rSet.Put( SfxBoolItem( SID_AVMEDIA_PLAYER, GetViewFrame()->HasChildWindow( nId ) ) );
- }
}
//------------------------------------------------------------------
diff --git a/sc/uiconfig/scalc/menubar/menubar.xml b/sc/uiconfig/scalc/menubar/menubar.xml
index d66671c..de5887e 100644
--- a/sc/uiconfig/scalc/menubar/menubar.xml
+++ b/sc/uiconfig/scalc/menubar/menubar.xml
@@ -367,7 +367,6 @@
</menu:menu>
<menu:menuseparator/>
<menu:menuitem menu:id=".uno:Gallery"/>
- <menu:menuitem menu:id=".uno:AVMediaPlayer"/>
<menu:menuseparator/>
<menu:menu menu:id=".uno:MacrosMenu">
<menu:menupopup>
More information about the Libreoffice-commits
mailing list