diff options
author | Oliver Bolte <obo@openoffice.org> | 2009-09-08 10:44:42 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2009-09-08 10:44:42 +0000 |
commit | 9054ef50665d87331e9150e1b4dcc401c2bbfef5 (patch) | |
tree | c3ce5fbddc1a900c6949bbc3a3aea8f4fbdd3e75 /sw/source/ui/shells/textsh.cxx | |
parent | 40eb65dc1559f8a97bfe4110745578cabecfee04 (diff) |
CWS-TOOLING: integrate CWS vcl104
Diffstat (limited to 'sw/source/ui/shells/textsh.cxx')
-rw-r--r-- | sw/source/ui/shells/textsh.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/ui/shells/textsh.cxx b/sw/source/ui/shells/textsh.cxx index bbc7ae2609df..7e38c1297d0b 100644 --- a/sw/source/ui/shells/textsh.cxx +++ b/sw/source/ui/shells/textsh.cxx @@ -831,8 +831,11 @@ void SwTextShell::StateInsert( SfxItemSet &rSet ) { case SID_INSERT_SOUND: case SID_INSERT_VIDEO: + /*!SvxPluginFileDlg::IsAvailable( nWhich ) || + + discussed with mba: for performance reasons we skip the IsAvailable call here + */ if ( GetShell().IsSelFrmMode() || - !SvxPluginFileDlg::IsAvailable( nWhich ) || SFX_CREATE_MODE_EMBEDDED == eCreateMode || bCrsrInHidden ) { rSet.DisableItem( nWhich ); |