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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/ui/table/tableobjectbar.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/GraphicObjectBar.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/MediaObjectBar.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/drbezob.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/drviews5.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/view/drviewsa.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/view/drviewse.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 1 |
8 files changed, 0 insertions, 15 deletions
diff --git a/sd/source/ui/table/tableobjectbar.cxx b/sd/source/ui/table/tableobjectbar.cxx index e6c516512086..7f69df7c14a2 100644 --- a/sd/source/ui/table/tableobjectbar.cxx +++ b/sd/source/ui/table/tableobjectbar.cxx @@ -91,7 +91,6 @@ TableObjectBar::TableObjectBar( ViewShell* pSdViewShell, ::sd::View* pSdView ) SetUndoManager( pDocShell->GetUndoManager() ); } SetRepeatTarget( mpView ); - SetHelpId( SD_IF_SDDRAWTABLEOBJECTBAR ); SetName( SD_RESSTR( RID_DRAW_TABLE_TOOLBOX ) ); SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Table)); } diff --git a/sd/source/ui/view/GraphicObjectBar.cxx b/sd/source/ui/view/GraphicObjectBar.cxx index 57124390e9ec..c03c3363777d 100644 --- a/sd/source/ui/view/GraphicObjectBar.cxx +++ b/sd/source/ui/view/GraphicObjectBar.cxx @@ -72,7 +72,6 @@ GraphicObjectBar::GraphicObjectBar ( SetPool( &pDocShell->GetPool() ); SetUndoManager( pDocShell->GetUndoManager() ); SetRepeatTarget( mpView ); - SetHelpId( SD_IF_SDDRAWGRAFOBJECTBAR ); SetName( "Graphic objectbar"); } diff --git a/sd/source/ui/view/MediaObjectBar.cxx b/sd/source/ui/view/MediaObjectBar.cxx index 2301694cf020..dbce5caf3d55 100644 --- a/sd/source/ui/view/MediaObjectBar.cxx +++ b/sd/source/ui/view/MediaObjectBar.cxx @@ -65,7 +65,6 @@ MediaObjectBar::MediaObjectBar( ViewShell* pSdViewShell, ::sd::View* pSdView ) : SetPool( &pDocShell->GetPool() ); SetUndoManager( pDocShell->GetUndoManager() ); SetRepeatTarget( mpView ); - SetHelpId( SD_IF_SDDRAWMEDIAOBJECTBAR ); SetName(SD_RESSTR(RID_DRAW_MEDIA_TOOLBOX)); } diff --git a/sd/source/ui/view/drbezob.cxx b/sd/source/ui/view/drbezob.cxx index f012242a7b36..0511db501b81 100644 --- a/sd/source/ui/view/drbezob.cxx +++ b/sd/source/ui/view/drbezob.cxx @@ -72,8 +72,6 @@ BezierObjectBar::BezierObjectBar( SetPool(&pDocShell->GetPool()); SetUndoManager(pDocShell->GetUndoManager()); SetRepeatTarget(mpView); - - SetHelpId( SD_IF_SDDRAWBEZIEROBJECTBAR ); } BezierObjectBar::~BezierObjectBar() diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx index 2e4c17bfdc6a..372de4953ada 100644 --- a/sd/source/ui/view/drviews5.cxx +++ b/sd/source/ui/view/drviews5.cxx @@ -485,17 +485,14 @@ void DrawViewShell::ReadUserDataSequence ( const css::uno::Sequence < css::beans if (mePageKind == PageKind::Notes) { - SetHelpId( SID_NOTES_MODE ); GetActiveWindow()->SetHelpId( CMD_SID_NOTES_MODE ); } else if (mePageKind == PageKind::Handout) { - SetHelpId( SID_HANDOUT_MASTER_MODE ); GetActiveWindow()->SetHelpId( CMD_SID_HANDOUT_MASTER_MODE ); } else { - SetHelpId( SD_IF_SDDRAWVIEWSHELL ); GetActiveWindow()->SetHelpId( HID_SDDRAWVIEWSHELL ); } } diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx index 7c4f59dab434..2f1968695614 100644 --- a/sd/source/ui/view/drviewsa.cxx +++ b/sd/source/ui/view/drviewsa.cxx @@ -273,14 +273,12 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind) if( eDocType == DocumentType::Draw ) { - SetHelpId( SD_IF_SDGRAPHICVIEWSHELL ); GetActiveWindow()->SetHelpId( HID_SDGRAPHICVIEWSHELL ); } else { if (mePageKind == PageKind::Notes) { - SetHelpId( SID_NOTES_MODE ); GetActiveWindow()->SetHelpId( CMD_SID_NOTES_MODE ); // AutoLayouts have to be created @@ -288,7 +286,6 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind) } else if (mePageKind == PageKind::Handout) { - SetHelpId( SID_HANDOUT_MASTER_MODE ); GetActiveWindow()->SetHelpId( CMD_SID_HANDOUT_MASTER_MODE ); // AutoLayouts have to be created @@ -296,7 +293,6 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind) } else { - SetHelpId( SD_IF_SDDRAWVIEWSHELL ); GetActiveWindow()->SetHelpId( HID_SDDRAWVIEWSHELL ); } } diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index fd9c2b9089fd..8885953bf0e4 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -559,8 +559,6 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq) { GetCurrentFunction()->Activate(); SetOldFunction( GetCurrentFunction() ); - - SetHelpId( GetCurrentFunction()->GetSlotID() ); } // invalidate shell, is faster than every individually (says MI) diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index 641fcd429d80..78400790dde2 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -160,7 +160,6 @@ void OutlineViewShell::Construct(DrawDocShell* ) SetName( "OutlineViewShell" ); - SetHelpId( SD_IF_SDOUTLINEVIEWSHELL ); GetActiveWindow()->SetHelpId( HID_SDOUTLINEVIEWSHELL ); } |