summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/romenu.cxx
diff options
context:
space:
mode:
authorBryan Quigley <gquigs@gmail.com>2016-04-29 15:55:22 -0400
committerCaolán McNamara <caolanm@redhat.com>2016-05-03 09:17:01 +0000
commit4b3c211cfb4f64f0f31461aa2e623d64224c4423 (patch)
tree4fc4c1acd042d92d607657212ddde9767078c807 /sw/source/uibase/docvw/romenu.cxx
parent022b466db1142f95a4f0088b46abeb2787323b5e (diff)
Remove Edit -> Plug-in as no longer used
This functionality seems to only have been used with NPAPI plugins. They've been previously removed. Per the help text, if it is still used by anything, you can use the context menu instead. MN_READONLY_PLUGINOFF also appeared to be unused, so removed. More code might be removable, but would affect activate on click/visible. Change-Id: I12d5bf54edd3a2f716912179b87e798b47b3cc3d Reviewed-on: https://gerrit.libreoffice.org/24500 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/docvw/romenu.cxx')
-rw-r--r--sw/source/uibase/docvw/romenu.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx
index 9b863d5c8a2e..3aef4866ede5 100644
--- a/sw/source/uibase/docvw/romenu.cxx
+++ b/sw/source/uibase/docvw/romenu.cxx
@@ -190,9 +190,6 @@ SwReadOnlyPopup::SwReadOnlyPopup( const Point &rDPos, SwView &rV ) :
Check( MN_READONLY_SOURCEVIEW, SID_SOURCEVIEW, rDis );
Check( MN_READONLY_BROWSE_BACKWARD, SID_BROWSE_BACKWARD,rDis );
Check( MN_READONLY_BROWSE_FORWARD, SID_BROWSE_FORWARD, rDis );
-#ifdef _WIN32
- Check( MN_READONLY_PLUGINOFF, SID_PLUGINS_ACTIVE, rDis );
-#endif
Check( MN_READONLY_OPENURL, SID_OPENDOC, rDis );
Check( MN_READONLY_OPENURLNEW, SID_OPENDOC, rDis );
@@ -314,9 +311,6 @@ void SwReadOnlyPopup::Execute( vcl::Window* pWin, sal_uInt16 nId )
break;
}
case MN_READONLY_GRAPHICOFF: nExecId = FN_VIEW_GRAPHIC; break;
-#ifdef _WIN32
- case MN_READONLY_PLUGINOFF: nExecId = SID_PLUGINS_ACTIVE; break;
-#endif
case MN_READONLY_TOGALLERYLINK:
SW_MOD()->GetModuleConfig()->SetGrfToGalleryAsLnk( true );
break;