summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/fragiledestructor.cxx2
-rw-r--r--svtools/source/config/optionsdrawinglayer.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/fragiledestructor.cxx b/compilerplugins/clang/fragiledestructor.cxx
index 74f32aa165f6..1631cb30c1e9 100644
--- a/compilerplugins/clang/fragiledestructor.cxx
+++ b/compilerplugins/clang/fragiledestructor.cxx
@@ -95,7 +95,7 @@ bool FragileDestructor::VisitCXXMemberCallExpr(const CXXMemberCallExpr* callExpr
return true;
report(
DiagnosticsEngine::Warning,
- "calling virtual method from destructor, either make the virtual method SAL_FINAL, or make this class SAL_FINAL",
+ "calling virtual method from destructor, either make the virtual method final, or make this class final",
compat::getBeginLoc(callExpr))
<< callExpr->getSourceRange();
report(
diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx
index d1e8427eb032..110af11c4ccd 100644
--- a/svtools/source/config/optionsdrawinglayer.cxx
+++ b/svtools/source/config/optionsdrawinglayer.cxx
@@ -206,7 +206,7 @@ public:
// private methods
private:
- virtual void ImplCommit() SAL_FINAL override;
+ virtual void ImplCommit() final override;
static Sequence< OUString > impl_GetPropertyNames();