diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-02-06 21:49:28 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-02-07 14:32:54 +0100 |
commit | 2e91522a5ce62a8489c75bd948f1dc68ddf1a56f (patch) | |
tree | 2f77c76262c2bcfbe5b372871997c0036f62f808 /sfx2 | |
parent | 44b914b1e2616ca8f70e896e653a46ca93610234 (diff) |
Remove unneeded breaks
Extending this:
https://gerrit.libreoffice.org/c/core/+/110512
Change-Id: I9e7cf757a346d603d0acb818be0c9bc488c8d5c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110516
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 7 | ||||
-rw-r--r-- | sfx2/source/notebookbar/SfxNotebookBar.cxx | 10 | ||||
-rw-r--r-- | sfx2/source/view/classificationhelper.cxx | 2 |
3 files changed, 0 insertions, 19 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index b446a1e309c3..e5360c796183 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -124,25 +124,18 @@ namespace { case vcl::EnumContext::Application::Writer: return "Writer"; - break; case vcl::EnumContext::Application::Calc: return "Calc"; - break; case vcl::EnumContext::Application::Impress: return "Impress"; - break; case vcl::EnumContext::Application::Draw: return "Draw"; - break; case vcl::EnumContext::Application::Formula: return "Formula"; - break; case vcl::EnumContext::Application::Base: return "Base"; - break; default: return OUString(); - break; } } diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx index 115db13c872f..fa9b7f06bf13 100644 --- a/sfx2/source/notebookbar/SfxNotebookBar.cxx +++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx @@ -98,22 +98,16 @@ static OUString lcl_getAppName( vcl::EnumContext::Application eApp ) { case vcl::EnumContext::Application::Writer: return "Writer"; - break; case vcl::EnumContext::Application::Calc: return "Calc"; - break; case vcl::EnumContext::Application::Impress: return "Impress"; - break; case vcl::EnumContext::Application::Draw: return "Draw"; - break; case vcl::EnumContext::Application::Formula: return "Formula"; - break; default: return OUString(); - break; } } @@ -147,16 +141,12 @@ static OUString lcl_getNotebookbarFileName( vcl::EnumContext::Application eApp ) { case vcl::EnumContext::Application::Writer: return officecfg::Office::UI::ToolbarMode::ActiveWriter::get(); - break; case vcl::EnumContext::Application::Calc: return officecfg::Office::UI::ToolbarMode::ActiveCalc::get(); - break; case vcl::EnumContext::Application::Impress: return officecfg::Office::UI::ToolbarMode::ActiveImpress::get(); - break; case vcl::EnumContext::Application::Draw: return officecfg::Office::UI::ToolbarMode::ActiveDraw::get(); - break; default: break; diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx index 85e7f3d55dde..c36856a5d624 100644 --- a/sfx2/source/view/classificationhelper.cxx +++ b/sfx2/source/view/classificationhelper.cxx @@ -905,10 +905,8 @@ const OUString& SfxClassificationHelper::policyTypeToString(SfxClassificationPol { case SfxClassificationPolicyType::ExportControl: return PROP_PREFIX_EXPORTCONTROL(); - break; case SfxClassificationPolicyType::NationalSecurity: return PROP_PREFIX_NATIONALSECURITY(); - break; case SfxClassificationPolicyType::IntellectualProperty: break; } |