summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/cellsh3.cxx2
-rw-r--r--sc/source/ui/view/formatsh.cxx2
-rw-r--r--sc/source/ui/view/output2.cxx2
-rw-r--r--sc/source/ui/view/viewfun6.cxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx
index f62eecd2b881..fb5c81ac9c35 100644
--- a/sc/source/ui/view/cellsh3.cxx
+++ b/sc/source/ui/view/cellsh3.cxx
@@ -75,7 +75,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
//! cannot always be switched ????
if (!pTabViewShell->GetViewFrame()->GetFrame().IsInPlace())
pTabViewShell->SetDontSwitch(true); // do not switch off EditShell
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case FID_CELL_FORMAT:
case SID_ENABLE_HYPHENATION:
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 46bce0e4251f..37b2c863751d 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -421,7 +421,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
{
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case SID_STYLE_EDIT:
case SID_STYLE_DELETE:
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index ddf6e6020caf..9a1652834d9c 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -2619,7 +2619,7 @@ void ScOutputData::DrawEditParam::setAlignmentToEngine()
case SvxCellHorJustify::Repeat: // repeat is not yet implemented
case SvxCellHorJustify::Standard:
SAL_WARN("sc.ui","meHorJustResult does not match getAlignmentFromContext()");
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SvxCellHorJustify::Left:
eSvxAdjust = SvxAdjust::Left;
break;
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index 5cfcff798131..4174848fdc80 100644
--- a/sc/source/ui/view/viewfun6.cxx
+++ b/sc/source/ui/view/viewfun6.cxx
@@ -295,7 +295,7 @@ void ScViewFunc::InsertCurrentTime(SvNumFormatType nReqFmt, const OUString& rUnd
default:
SAL_WARN("sc.ui","unhandled current date/time request");
nReqFmt = SvNumFormatType::DATETIME;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SvNumFormatType::DATETIME:
{
DateTime aActDateTime( DateTime::SYSTEM );
@@ -391,7 +391,7 @@ void ScViewFunc::InsertCurrentTime(SvNumFormatType nReqFmt, const OUString& rUnd
default:
SAL_WARN("sc.ui","unhandled current date/time request");
nReqFmt = SvNumFormatType::DATETIME;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SvNumFormatType::DATETIME:
break;
}