diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-23 09:38:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-23 10:51:13 +0000 |
commit | 8ab1fe71f546dd5f8d3ec8f53a0fb31e24d55adc (patch) | |
tree | 0fb2ccbfea84f9c527964889e6066fa89ace1066 /sc | |
parent | 61ecebe0d0febe8429d965355356a9f0f34b323b (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 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/chartsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/drawsh2.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/drformsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/drtxtob.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/graphsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/mediash.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/oleobjsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/auditsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/pgbrksh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/pivotsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/prevwsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 1 |
15 files changed, 0 insertions, 16 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 70faa90ca738..f1e0271c109b 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -2699,7 +2699,6 @@ ScDocShell::ScDocShell( const ScDocShell& rShell ) : StartListening(*pStlPool); GetPageOnFromPageStyleSet( nullptr, 0, bHeaderOn, bFooterOn ); - SetHelpId( HID_SCSHELL_DOCSH ); // InitItems and CalcOutputFactor are called now in Load/ConvertFrom/InitNew } @@ -2744,7 +2743,6 @@ ScDocShell::ScDocShell( const SfxModelFlags i_nSfxCreationFlags ) : SfxStyleSheetPool* pStlPool = aDocument.GetStyleSheetPool(); if (pStlPool) StartListening(*pStlPool); - SetHelpId( HID_SCSHELL_DOCSH ); aDocument.GetDBCollection()->SetRefreshHandler( LINK( this, ScDocShell, RefreshDBDataHdl ) ); diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx index 26563ac42c64..089793769315 100644 --- a/sc/source/ui/drawfunc/chartsh.cxx +++ b/sc/source/ui/drawfunc/chartsh.cxx @@ -60,7 +60,6 @@ void ScChartShell::InitInterface_Impl() ScChartShell::ScChartShell(ScViewData* pData) : ScDrawShell(pData) { - SetHelpId( HID_SCSHELL_CHARTSH ); SetName( "ChartObject" ); SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Chart)); } diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx index 3188e05394dd..8bdf4b493582 100644 --- a/sc/source/ui/drawfunc/drawsh2.cxx +++ b/sc/source/ui/drawfunc/drawsh2.cxx @@ -67,7 +67,6 @@ ScDrawShell::ScDrawShell( ScViewData* pData ) : { pMgr->SetMaxUndoActionCount( 0 ); } - SetHelpId( HID_SCSHELL_DRAWSH ); SetName("Drawing"); mpSelectionChangeHandler->Connect(); diff --git a/sc/source/ui/drawfunc/drformsh.cxx b/sc/source/ui/drawfunc/drformsh.cxx index f96bc0f7bbf8..938eb992c14c 100644 --- a/sc/source/ui/drawfunc/drformsh.cxx +++ b/sc/source/ui/drawfunc/drformsh.cxx @@ -55,7 +55,6 @@ void ScDrawFormShell::InitInterface_Impl() ScDrawFormShell::ScDrawFormShell(ScViewData* pData) : ScDrawShell(pData) { - SetHelpId(HID_SCSHELL_DRAWFORMSH); SetName("DrawForm"); SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Form)); } diff --git a/sc/source/ui/drawfunc/drtxtob.cxx b/sc/source/ui/drawfunc/drtxtob.cxx index ce6f08f1329b..ec6a67a32929 100644 --- a/sc/source/ui/drawfunc/drtxtob.cxx +++ b/sc/source/ui/drawfunc/drtxtob.cxx @@ -126,7 +126,6 @@ ScDrawTextObjectBar::ScDrawTextObjectBar(ScViewData* pData) : pMgr->SetMaxUndoActionCount( 0 ); } - SetHelpId( HID_SCSHELL_DRTXTOB ); SetName("DrawText"); SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::DrawText)); } diff --git a/sc/source/ui/drawfunc/graphsh.cxx b/sc/source/ui/drawfunc/graphsh.cxx index 2820fd6beade..41defd63a6fb 100644 --- a/sc/source/ui/drawfunc/graphsh.cxx +++ b/sc/source/ui/drawfunc/graphsh.cxx @@ -57,7 +57,6 @@ void ScGraphicShell::InitInterface_Impl() ScGraphicShell::ScGraphicShell(ScViewData* pData) : ScDrawShell(pData) { - SetHelpId(HID_SCSHELL_GRAPHIC); SetName("GraphicObject"); SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Graphic)); } diff --git a/sc/source/ui/drawfunc/mediash.cxx b/sc/source/ui/drawfunc/mediash.cxx index 83aab890e836..406cd6fa49c8 100644 --- a/sc/source/ui/drawfunc/mediash.cxx +++ b/sc/source/ui/drawfunc/mediash.cxx @@ -48,7 +48,6 @@ void ScMediaShell::InitInterface_Impl() ScMediaShell::ScMediaShell(ScViewData* pData) : ScDrawShell(pData) { - SetHelpId(HID_SCSHELL_MEDIA); SetName( OUString( ScResId( SCSTR_MEDIASHELL ) ) ); SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Media)); } diff --git a/sc/source/ui/drawfunc/oleobjsh.cxx b/sc/source/ui/drawfunc/oleobjsh.cxx index da80a4976589..cd0c83e53e63 100644 --- a/sc/source/ui/drawfunc/oleobjsh.cxx +++ b/sc/source/ui/drawfunc/oleobjsh.cxx @@ -55,7 +55,6 @@ void ScOleObjectShell::InitInterface_Impl() ScOleObjectShell::ScOleObjectShell(ScViewData* pData) : ScDrawShell(pData) { - SetHelpId(HID_SCSHELL_OLEOBEJCTSH); SetName("OleObject"); SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::OLE)); } diff --git a/sc/source/ui/view/auditsh.cxx b/sc/source/ui/view/auditsh.cxx index 216d33c2a582..3bfa57b28b37 100644 --- a/sc/source/ui/view/auditsh.cxx +++ b/sc/source/ui/view/auditsh.cxx @@ -54,7 +54,6 @@ ScAuditingShell::ScAuditingShell(ScViewData* pData) : { pMgr->SetMaxUndoActionCount( 0 ); } - SetHelpId( HID_SCSHELL_AUDIT ); SetName("Auditing"); SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Auditing)); } diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx index 0e3d1301bfc9..6dda629fbec5 100644 --- a/sc/source/ui/view/cellsh.cxx +++ b/sc/source/ui/view/cellsh.cxx @@ -81,7 +81,6 @@ ScCellShell::ScCellShell(ScViewData* pData, VclPtr<vcl::Window> frameWin) : bPastePossible(false), pFrameWin(frameWin) { - SetHelpId(HID_SCSHELL_CELLSH); SetName("Cell"); SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Cell)); } diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index b22fbd8603da..d68d801f8034 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -143,7 +143,6 @@ ScFormatShell::ScFormatShell(ScViewData* pData) : { pMgr->SetMaxUndoActionCount( 0 ); } - SetHelpId(HID_SCSHELL_FORMATSH); SetName("Format"); } diff --git a/sc/source/ui/view/pgbrksh.cxx b/sc/source/ui/view/pgbrksh.cxx index 57254d7cce1a..4a41fd45567a 100644 --- a/sc/source/ui/view/pgbrksh.cxx +++ b/sc/source/ui/view/pgbrksh.cxx @@ -53,7 +53,6 @@ ScPageBreakShell::ScPageBreakShell( ScTabViewShell* pViewSh ) : { pMgr->SetMaxUndoActionCount( 0 ); } - SetHelpId( HID_SCSHELL_PAGEBREAK ); SetName("PageBreak"); } diff --git a/sc/source/ui/view/pivotsh.cxx b/sc/source/ui/view/pivotsh.cxx index e99b0a658205..2c96d3e62a5a 100644 --- a/sc/source/ui/view/pivotsh.cxx +++ b/sc/source/ui/view/pivotsh.cxx @@ -63,7 +63,6 @@ ScPivotShell::ScPivotShell( ScTabViewShell* pViewSh ) : { pMgr->SetMaxUndoActionCount( 0 ); } - SetHelpId( HID_SCSHELL_PIVOTSH ); SetName("Pivot"); SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Pivot)); } diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx index 6581d311a68b..6f6465da4f34 100644 --- a/sc/source/ui/view/prevwsh.cxx +++ b/sc/source/ui/view/prevwsh.cxx @@ -143,7 +143,6 @@ void ScPreviewShell::Construct( vcl::Window* pParent ) pHorScroll->Show( false ); pVerScroll->Show( false ); pCorner->Show(); - SetHelpId( HID_SCSHELL_PREVWSH ); SetName("Preview"); } diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index faf166f2def1..6d7c050402a5 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -1528,7 +1528,6 @@ void ScTabViewShell::Construct( TriState nForceDesignMode ) } SetRepeatTarget( &aTarget ); pFormShell->SetRepeatTarget( &aTarget ); - SetHelpId( HID_SCSHELL_TABVWSH ); if ( bFirstView ) // first view? { |