summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-23 09:38:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-23 10:51:13 +0000
commit8ab1fe71f546dd5f8d3ec8f53a0fb31e24d55adc (patch)
tree0fb2ccbfea84f9c527964889e6066fa89ace1066 /sw
parent61ecebe0d0febe8429d965355356a9f0f34b323b (diff)
remove unused helpid in SfxShell
Unused since commit 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae "update unusedmethods plugin to deal with constructors" where I removed a unused SfxDockingWindow constructor. And in that case, the helpid was only being used to assign the window a UniqueId. Change-Id: I148e424424fcf08449440b83a8600071b39d7a07 Reviewed-on: https://gerrit.libreoffice.org/35554 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/misc/glshell.cxx2
-rw-r--r--sw/source/uibase/shells/beziersh.cxx1
-rw-r--r--sw/source/uibase/shells/drawsh.cxx1
-rw-r--r--sw/source/uibase/shells/drformsh.cxx1
-rw-r--r--sw/source/uibase/shells/drwtxtsh.cxx1
-rw-r--r--sw/source/uibase/shells/frmsh.cxx1
-rw-r--r--sw/source/uibase/shells/grfsh.cxx1
-rw-r--r--sw/source/uibase/shells/listsh.cxx1
-rw-r--r--sw/source/uibase/shells/mediash.cxx1
-rw-r--r--sw/source/uibase/shells/navsh.cxx1
-rw-r--r--sw/source/uibase/shells/olesh.cxx1
-rw-r--r--sw/source/uibase/shells/tabsh.cxx1
-rw-r--r--sw/source/uibase/shells/textsh.cxx1
-rw-r--r--sw/source/uibase/uiview/pview.cxx1
-rw-r--r--sw/source/uibase/uiview/srcview.cxx1
-rw-r--r--sw/source/uibase/uiview/view.cxx4
-rw-r--r--sw/source/uibase/web/wfrmsh.cxx1
-rw-r--r--sw/source/uibase/web/wgrfsh.cxx1
-rw-r--r--sw/source/uibase/web/wlistsh.cxx1
-rw-r--r--sw/source/uibase/web/wolesh.cxx2
-rw-r--r--sw/source/uibase/web/wtabsh.cxx1
-rw-r--r--sw/source/uibase/web/wtextsh.cxx1
22 files changed, 0 insertions, 27 deletions
diff --git a/sw/source/uibase/misc/glshell.cxx b/sw/source/uibase/misc/glshell.cxx
index 6446f611caf7..82fecf90b152 100644
--- a/sw/source/uibase/misc/glshell.cxx
+++ b/sw/source/uibase/misc/glshell.cxx
@@ -133,7 +133,6 @@ SwGlosDocShell::SwGlosDocShell(bool bNewShow)
: SwDocShell( (bNewShow)
? SfxObjectCreateMode::STANDARD : SfxObjectCreateMode::INTERNAL )
{
- SetHelpId(SW_GLOSDOCSHELL);
}
SwGlosDocShell::~SwGlosDocShell( )
@@ -169,7 +168,6 @@ bool SwGlosDocShell::Save()
SwWebGlosDocShell::SwWebGlosDocShell()
: SwWebDocShell()
{
- SetHelpId(SW_WEBGLOSDOCSHELL);
}
SwWebGlosDocShell::~SwWebGlosDocShell( )
diff --git a/sw/source/uibase/shells/beziersh.cxx b/sw/source/uibase/shells/beziersh.cxx
index 80a451929924..c60d2417c27e 100644
--- a/sw/source/uibase/shells/beziersh.cxx
+++ b/sw/source/uibase/shells/beziersh.cxx
@@ -57,7 +57,6 @@ SwBezierShell::SwBezierShell(SwView &_rView):
SwBaseShell( _rView )
{
SetName("Bezier");
- SetHelpId(SW_BEZIERSHELL);
SwWrtShell *pSh = &GetShell();
SdrView* pSdrView = pSh->GetDrawView();
diff --git a/sw/source/uibase/shells/drawsh.cxx b/sw/source/uibase/shells/drawsh.cxx
index b756e19a4c20..1f978e99f7ca 100644
--- a/sw/source/uibase/shells/drawsh.cxx
+++ b/sw/source/uibase/shells/drawsh.cxx
@@ -535,7 +535,6 @@ void SwDrawShell::GetState(SfxItemSet& rSet)
SwDrawShell::SwDrawShell(SwView &_rView) :
SwDrawBaseShell(_rView)
{
- SetHelpId(SW_DRAWSHELL);
SetName("Draw");
SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Draw));
diff --git a/sw/source/uibase/shells/drformsh.cxx b/sw/source/uibase/shells/drformsh.cxx
index af77738bb28d..8cd842334412 100644
--- a/sw/source/uibase/shells/drformsh.cxx
+++ b/sw/source/uibase/shells/drformsh.cxx
@@ -247,7 +247,6 @@ void SwDrawFormShell::GetState(SfxItemSet& rSet)
SwDrawFormShell::SwDrawFormShell(SwView &_rView) :
SwDrawBaseShell(_rView)
{
- SetHelpId(SW_DRAWFORMSHELL);
GetShell().NoEdit();
SetName("DrawForm");
SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Form));
diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx
index 5537cd54ad89..1e2407dbce2a 100644
--- a/sw/source/uibase/shells/drwtxtsh.cxx
+++ b/sw/source/uibase/shells/drwtxtsh.cxx
@@ -132,7 +132,6 @@ SwDrawTextShell::SwDrawTextShell(SwView &rV) :
rSh.NoEdit();
SetName("ObjectText");
- SetHelpId(SW_DRWTXTSHELL);
SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::DrawText));
}
diff --git a/sw/source/uibase/shells/frmsh.cxx b/sw/source/uibase/shells/frmsh.cxx
index 9909af838364..acfcd314d674 100644
--- a/sw/source/uibase/shells/frmsh.cxx
+++ b/sw/source/uibase/shells/frmsh.cxx
@@ -962,7 +962,6 @@ SwFrameShell::SwFrameShell(SwView &_rView) :
SwBaseShell( _rView )
{
SetName("Frame");
- SetHelpId(SW_FRAMESHELL);
// #96392# Use this to announce it is the frame shell who creates the selection.
SwTransferable::CreateSelection( _rView.GetWrtShell(), this );
diff --git a/sw/source/uibase/shells/grfsh.cxx b/sw/source/uibase/shells/grfsh.cxx
index 6792d70fbe90..6d92d9bd0b27 100644
--- a/sw/source/uibase/shells/grfsh.cxx
+++ b/sw/source/uibase/shells/grfsh.cxx
@@ -956,7 +956,6 @@ SwGrfShell::SwGrfShell(SwView &_rView) :
SwBaseShell(_rView)
{
SetName("Graphic");
- SetHelpId(SW_GRFSHELL);
SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Graphic));
}
diff --git a/sw/source/uibase/shells/listsh.cxx b/sw/source/uibase/shells/listsh.cxx
index 786dfe23f7d3..115fda2976c9 100644
--- a/sw/source/uibase/shells/listsh.cxx
+++ b/sw/source/uibase/shells/listsh.cxx
@@ -274,7 +274,6 @@ SwListShell::SwListShell(SwView &_rView) :
SwBaseShell(_rView)
{
SetName("List");
- SetHelpId(SW_LISTSHELL);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/shells/mediash.cxx b/sw/source/uibase/shells/mediash.cxx
index b389c0cb972a..04fa43365382 100644
--- a/sw/source/uibase/shells/mediash.cxx
+++ b/sw/source/uibase/shells/mediash.cxx
@@ -191,7 +191,6 @@ SwMediaShell::SwMediaShell(SwView &_rView) :
{
SetName("Media Playback");
- SetHelpId(SW_MEDIASHELL);
SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Media));
}
diff --git a/sw/source/uibase/shells/navsh.cxx b/sw/source/uibase/shells/navsh.cxx
index 8b0283e92a70..edd99373c84f 100644
--- a/sw/source/uibase/shells/navsh.cxx
+++ b/sw/source/uibase/shells/navsh.cxx
@@ -39,7 +39,6 @@ SwNavigationShell::SwNavigationShell(SwView &_rView)
: SwBaseShell( _rView )
{
SetName("Navigation");
- SetHelpId(SW_NAVIGATIONSHELL);
}
void SwNavigationShell::Execute(SfxRequest &rReq)
diff --git a/sw/source/uibase/shells/olesh.cxx b/sw/source/uibase/shells/olesh.cxx
index 328df3c62feb..5171612100c3 100644
--- a/sw/source/uibase/shells/olesh.cxx
+++ b/sw/source/uibase/shells/olesh.cxx
@@ -51,7 +51,6 @@ SwOleShell::SwOleShell(SwView &_rView) :
{
SetName("Object");
- SetHelpId(SW_OLESHELL);
SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::OLE));
}
diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx
index a53986bd8ea4..45312455c19b 100644
--- a/sw/source/uibase/shells/tabsh.cxx
+++ b/sw/source/uibase/shells/tabsh.cxx
@@ -1404,7 +1404,6 @@ SwTableShell::SwTableShell(SwView &_rView) :
SwBaseShell(_rView)
{
SetName("Table");
- SetHelpId(SW_TABSHELL);
SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Table));
}
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index 6670aeeb6ded..df0131e19c93 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -831,7 +831,6 @@ SwTextShell::SwTextShell(SwView &_rView) :
SwBaseShell(_rView)
{
SetName("Text");
- SetHelpId(SW_TEXTSHELL);
SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Text));
}
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index 34de777ec435..0fc2886efe30 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -1191,7 +1191,6 @@ SwPagePreview::SwPagePreview(SfxViewFrame *pViewFrame, SfxViewShell* pOldSh):
{
SetName("PageView");
SetWindow( m_pViewWin );
- SetHelpId(SW_PAGEPREVIEW);
CreateScrollbar( true );
CreateScrollbar( false );
diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx
index bb1827bc21a1..9c9995147109 100644
--- a/sw/source/uibase/uiview/srcview.cxx
+++ b/sw/source/uibase/uiview/srcview.cxx
@@ -252,7 +252,6 @@ void SwSrcView::SaveContentTo(SfxMedium& rMed)
void SwSrcView::Init()
{
- SetHelpId(SW_SRC_VIEWSHELL);
SetName("Source");
SetWindow( aEditWin.get() );
SwDocShell* pDocShell = GetDocShell();
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index cc3d48c693c0..0b3e0dfd6561 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -381,17 +381,13 @@ void SwView::SelectShell()
{
bSetExtInpCntxt = true;
eShellMode = ShellMode::Text;
- sal_uInt32 nHelpId = 0;
if ( m_nSelectionType & nsSelectionType::SEL_NUM )
{
eShellMode = ShellMode::ListText;
m_pShell = new SwListShell( *this );
- nHelpId = m_pShell->GetHelpId();
rDispatcher.Push( *m_pShell );
}
m_pShell = new SwTextShell(*this);
- if(nHelpId)
- m_pShell->SetHelpId(nHelpId);
rDispatcher.Push( *m_pShell );
if ( m_nSelectionType & nsSelectionType::SEL_TBL )
{
diff --git a/sw/source/uibase/web/wfrmsh.cxx b/sw/source/uibase/web/wfrmsh.cxx
index cfb71bdde0e5..f70967ef844e 100644
--- a/sw/source/uibase/web/wfrmsh.cxx
+++ b/sw/source/uibase/web/wfrmsh.cxx
@@ -50,7 +50,6 @@ void SwWebFrameShell::InitInterface_Impl()
SwWebFrameShell::SwWebFrameShell(SwView &_rView) :
SwFrameShell(_rView)
{
- SetHelpId(SW_WEBFRAMESHELL);
}
SwWebFrameShell::~SwWebFrameShell()
diff --git a/sw/source/uibase/web/wgrfsh.cxx b/sw/source/uibase/web/wgrfsh.cxx
index 527e443b202e..745a2cf12261 100644
--- a/sw/source/uibase/web/wgrfsh.cxx
+++ b/sw/source/uibase/web/wgrfsh.cxx
@@ -56,7 +56,6 @@ SwWebGrfShell::SwWebGrfShell(SwView &_rView) :
{
SetName("Graphic");
- SetHelpId(SW_GRFSHELL);
}
SwWebGrfShell::~SwWebGrfShell()
diff --git a/sw/source/uibase/web/wlistsh.cxx b/sw/source/uibase/web/wlistsh.cxx
index 088e25f97e8e..a38288380655 100644
--- a/sw/source/uibase/web/wlistsh.cxx
+++ b/sw/source/uibase/web/wlistsh.cxx
@@ -49,7 +49,6 @@ SwWebListShell::SwWebListShell(SwView &_rView) :
SwListShell(_rView)
{
SetName("List");
- SetHelpId(SW_LISTSHELL);
}
SwWebListShell::~SwWebListShell()
diff --git a/sw/source/uibase/web/wolesh.cxx b/sw/source/uibase/web/wolesh.cxx
index 37c8bd2abeef..0cdb514f8fe1 100644
--- a/sw/source/uibase/web/wolesh.cxx
+++ b/sw/source/uibase/web/wolesh.cxx
@@ -46,10 +46,8 @@ void SwWebOleShell::InitInterface_Impl()
SwWebOleShell::SwWebOleShell(SwView &_rView) :
SwOleShell(_rView)
-
{
SetName("Object");
- SetHelpId(SW_OLESHELL);
}
SwWebOleShell::~SwWebOleShell()
diff --git a/sw/source/uibase/web/wtabsh.cxx b/sw/source/uibase/web/wtabsh.cxx
index eedc6c390492..a6294f6e67e5 100644
--- a/sw/source/uibase/web/wtabsh.cxx
+++ b/sw/source/uibase/web/wtabsh.cxx
@@ -55,7 +55,6 @@ SwWebTableShell::SwWebTableShell(SwView &_rView) :
{
GetShell().UpdateTable();
SetName("Table");
- SetHelpId(SW_TABSHELL);
}
SwWebTableShell::~SwWebTableShell()
diff --git a/sw/source/uibase/web/wtextsh.cxx b/sw/source/uibase/web/wtextsh.cxx
index dc2131b1a38a..837b7aea0f06 100644
--- a/sw/source/uibase/web/wtextsh.cxx
+++ b/sw/source/uibase/web/wtextsh.cxx
@@ -59,7 +59,6 @@ void SwWebTextShell::InitInterface_Impl()
SwWebTextShell::SwWebTextShell(SwView &_rView) :
SwTextShell(_rView)
{
- SetHelpId(SW_WEBTEXTSHELL);
}
SwWebTextShell::~SwWebTextShell()