diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-02-09 22:43:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-02-11 08:19:29 +0100 |
commit | 1eb05baf7cffe5ad747f6ab5ba65e07c7a9dcf80 (patch) | |
tree | dc5d9d329310e98ddf55d5da988eebd64311c7b5 /svx/source | |
parent | 14cb12bde07b8becf69b648ecc6642bdccf8a7cd (diff) |
Remove unneeded breaks
Extending this:
https://gerrit.libreoffice.org/c/core/+/110512
Change-Id: I1066aac690fe297a557352266f3405ae29ed4593
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110522
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/ClassificationDialog.cxx | 1 | ||||
-rw-r--r-- | svx/source/items/grfitem.cxx | 2 | ||||
-rw-r--r-- | svx/source/items/rotmodit.cxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/SelectionAnalyzer.cxx | 1 |
4 files changed, 0 insertions, 6 deletions
diff --git a/svx/source/dialog/ClassificationDialog.cxx b/svx/source/dialog/ClassificationDialog.cxx index 79ebf7548805..412265fefc29 100644 --- a/svx/source/dialog/ClassificationDialog.cxx +++ b/svx/source/dialog/ClassificationDialog.cxx @@ -60,7 +60,6 @@ IMPL_STATIC_LINK(ClassificationDialog, KeyInput, const KeyEvent&, rKeyEvent, boo // Anything else is ignored default: return true; - break; } } diff --git a/svx/source/items/grfitem.cxx b/svx/source/items/grfitem.cxx index 15625e983f61..2c0b678fbd3c 100644 --- a/svx/source/items/grfitem.cxx +++ b/svx/source/items/grfitem.cxx @@ -111,11 +111,9 @@ bool SvxGrfCrop::GetPresentation( " T: " + ::GetMetricText( GetTop(), eCoreUnit, MapUnit::MapMM, &rIntl ) + " B: " + ::GetMetricText( GetBottom(), eCoreUnit, MapUnit::MapMM, &rIntl ); return true; - break; default: return false; - break; } } diff --git a/svx/source/items/rotmodit.cxx b/svx/source/items/rotmodit.cxx index a02bc658e447..abd29b2ca1a3 100644 --- a/svx/source/items/rotmodit.cxx +++ b/svx/source/items/rotmodit.cxx @@ -64,12 +64,10 @@ bool SvxRotateModeItem::GetPresentation( case SfxItemPresentation::Complete: rText += GetValueText(GetValue()); return true; - break; case SfxItemPresentation::Nameless: rText += OUString::number( GetValue() ); return true; - break; default: ;//prevent warning } diff --git a/svx/source/sidebar/SelectionAnalyzer.cxx b/svx/source/sidebar/SelectionAnalyzer.cxx index baeaffc20858..418940dc7334 100644 --- a/svx/source/sidebar/SelectionAnalyzer.cxx +++ b/svx/source/sidebar/SelectionAnalyzer.cxx @@ -231,7 +231,6 @@ EnumContext::Context SelectionAnalyzer::GetContextForObjectId_SC(const sal_uInt1 case OBJ_MEDIA: return EnumContext::Context::Media; - break; default: return EnumContext::Context::Unknown; |