[LyX/master] Add `override` specifiers to improve code maintainability

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sat Oct 3 10:48:33 UTC 2020


commit efc0877f8fd33ad9369d06e5b638037c8d6a1b24
Author: Yuriy Skalko <yuriy.skalko at gmail.com>
Date:   Thu Oct 1 10:42:11 2020 +0300

    Add `override` specifiers to improve code maintainability

 src/AppleSpellChecker.h               |   26 +++---
 src/AspellChecker.h                   |   20 +++---
 src/EnchantChecker.h                  |   20 +++---
 src/HunspellChecker.h                 |   20 +++---
 src/LyX.cpp                           |    2 +-
 src/Mover.h                           |   10 +--
 src/Session.h                         |   28 +++---
 src/Text.cpp                          |    6 +-
 src/TextClass.h                       |    2 +-
 src/Trans.h                           |   18 ++--
 src/frontends/NullPainter.h           |   40 +++++-----
 src/frontends/qt/CategorizedCombo.cpp |    6 +-
 src/frontends/qt/DialogView.h         |   14 ++--
 src/frontends/qt/DockView.h           |   14 ++--
 src/frontends/qt/FancyLineEdit.cpp    |    2 +-
 src/frontends/qt/FindAndReplace.h     |   14 ++--
 src/frontends/qt/FloatPlacement.h     |   12 ++--
 src/frontends/qt/GuiAbout.h           |    6 +-
 src/frontends/qt/GuiApplication.cpp   |   20 +++---
 src/frontends/qt/GuiBibitem.h         |   12 ++--
 src/frontends/qt/GuiBibtex.h          |   12 ++--
 src/frontends/qt/GuiBox.h             |   12 ++--
 src/frontends/qt/GuiBranch.h          |   12 ++--
 src/frontends/qt/GuiChanges.h         |   12 ++--
 src/frontends/qt/GuiCharacter.h       |   18 ++--
 src/frontends/qt/GuiCitation.h        |   18 ++--
 src/frontends/qt/GuiCommandBuffer.cpp |    4 +-
 src/frontends/qt/GuiCompare.h         |   14 ++--
 src/frontends/qt/GuiCompareHistory.h  |   10 +-
 src/frontends/qt/GuiCompleter.cpp     |    8 +-
 src/frontends/qt/GuiCounter.h         |   14 ++--
 src/frontends/qt/GuiDelimiter.h       |    8 +-
 src/frontends/qt/GuiDialog.h          |   16 ++--
 src/frontends/qt/GuiDocument.cpp      |    8 +-
 src/frontends/qt/GuiDocument.h        |   18 ++--
 src/frontends/qt/GuiERT.h             |   12 ++--
 src/frontends/qt/GuiErrorList.h       |   10 +-
 src/frontends/qt/GuiExternal.h        |   12 ++--
 src/frontends/qt/GuiFontMetrics.h     |   52 ++++++------
 src/frontends/qt/GuiGraphics.h        |   14 ++--
 src/frontends/qt/GuiHSpace.h          |   12 ++--
 src/frontends/qt/GuiHyperlink.h       |   14 ++--
 src/frontends/qt/GuiInclude.h         |   14 ++--
 src/frontends/qt/GuiIndex.h           |   12 ++--
 src/frontends/qt/GuiInfo.h            |   14 ++--
 src/frontends/qt/GuiLabel.h           |   14 ++--
 src/frontends/qt/GuiLine.h            |   12 ++--
 src/frontends/qt/GuiListings.h        |   14 ++--
 src/frontends/qt/GuiLog.cpp           |    2 +-
 src/frontends/qt/GuiLog.h             |   12 ++--
 src/frontends/qt/GuiLyXFiles.h        |   16 ++--
 src/frontends/qt/GuiMathMatrix.h      |    8 +-
 src/frontends/qt/GuiNomenclature.h    |   14 ++--
 src/frontends/qt/GuiNote.h            |   12 ++--
 src/frontends/qt/GuiParagraph.h       |   16 ++--
 src/frontends/qt/GuiPhantom.h         |   12 ++--
 src/frontends/qt/GuiPrefs.cpp         |    8 +-
 src/frontends/qt/GuiPrefs.h           |   10 +-
 src/frontends/qt/GuiPrintNomencl.h    |   12 ++--
 src/frontends/qt/GuiPrintindex.h      |   12 ++--
 src/frontends/qt/GuiProgressView.h    |   20 +++---
 src/frontends/qt/GuiRef.h             |   18 ++--
 src/frontends/qt/GuiSearch.h          |    8 +-
 src/frontends/qt/GuiSendto.h          |   16 ++--
 src/frontends/qt/GuiShowFile.h        |   10 +-
 src/frontends/qt/GuiSpellchecker.h    |   10 +-
 src/frontends/qt/GuiSymbols.cpp       |    8 +-
 src/frontends/qt/GuiSymbols.h         |   10 +-
 src/frontends/qt/GuiTabular.h         |   12 ++--
 src/frontends/qt/GuiTabularCreate.h   |   12 ++--
 src/frontends/qt/GuiTexinfo.h         |   12 ++--
 src/frontends/qt/GuiThesaurus.h       |   14 ++--
 src/frontends/qt/GuiToc.h             |   16 ++--
 src/frontends/qt/GuiToolbar.cpp       |    2 +-
 src/frontends/qt/GuiVSpace.h          |   12 ++--
 src/frontends/qt/GuiView.cpp          |    4 +-
 src/frontends/qt/GuiViewSource.h      |   24 +++---
 src/frontends/qt/GuiWorkArea.h        |    2 +-
 src/frontends/qt/GuiWrap.h            |   12 ++--
 src/frontends/qt/InGuiThread.h        |    4 +-
 src/frontends/qt/InsetParamsDialog.h  |   12 ++--
 src/frontends/qt/LayoutBox.cpp        |    6 +-
 src/frontends/qt/Menus.cpp            |    2 +-
 src/insets/ExternalTransforms.h       |   32 ++++----
 src/insets/Inset.h                    |    2 +-
 src/insets/InsetArgument.h            |   54 ++++++------
 src/insets/InsetBibitem.h             |   28 +++---
 src/insets/InsetBibtex.h              |   36 ++++----
 src/insets/InsetBox.h                 |   48 ++++++------
 src/insets/InsetBranch.h              |   44 +++++-----
 src/insets/InsetCaption.h             |   54 ++++++------
 src/insets/InsetCaptionable.h         |    6 +-
 src/insets/InsetCitation.h            |   36 ++++----
 src/insets/InsetCollapsible.h         |   58 +++++++-------
 src/insets/InsetCommand.h             |   34 ++++----
 src/insets/InsetCounter.h             |   28 +++---
 src/insets/InsetERT.h                 |   30 ++++----
 src/insets/InsetExternal.h            |   48 ++++++------
 src/insets/InsetFlex.h                |   22 +++---
 src/insets/InsetFloat.h               |   44 +++++-----
 src/insets/InsetFloatList.h           |   28 +++---
 src/insets/InsetFoot.h                |   20 +++---
 src/insets/InsetFootlike.h            |   12 ++--
 src/insets/InsetGraphics.h            |   60 +++++++-------
 src/insets/InsetHyperlink.h           |   34 ++++----
 src/insets/InsetIPA.h                 |   42 +++++-----
 src/insets/InsetIPAMacro.h            |   68 ++++++++--------
 src/insets/InsetInclude.h             |   48 ++++++------
 src/insets/InsetIndex.h               |   64 +++++++-------
 src/insets/InsetInfo.h                |   40 +++++-----
 src/insets/InsetLabel.h               |   30 ++++----
 src/insets/InsetLayout.h              |    2 +-
 src/insets/InsetLine.h                |   24 +++---
 src/insets/InsetListings.h            |   38 +++++-----
 src/insets/InsetMarginal.h            |   12 ++--
 src/insets/InsetNewline.h             |   30 ++++----
 src/insets/InsetNewpage.h             |   28 +++---
 src/insets/InsetNomencl.h             |   46 +++++-----
 src/insets/InsetNote.h                |   38 +++++-----
 src/insets/InsetPhantom.h             |   34 ++++----
 src/insets/InsetPreview.h             |   30 ++++----
 src/insets/InsetQuotes.h              |   38 +++++-----
 src/insets/InsetRef.h                 |   38 +++++-----
 src/insets/InsetScript.h              |   52 ++++++------
 src/insets/InsetSeparator.h           |   32 ++++----
 src/insets/InsetSpace.h               |   48 ++++++------
 src/insets/InsetSpecialChar.h         |   42 +++++-----
 src/insets/InsetTOC.h                 |   22 +++---
 src/insets/InsetTabular.h             |  144 ++++++++++++++++----------------
 src/insets/InsetText.h                |  112 +++++++++++++-------------
 src/insets/InsetVSpace.h              |   32 ++++----
 src/insets/InsetWrap.h                |   36 ++++----
 src/insets/RenderButton.h             |    8 +-
 src/insets/RenderGraphic.h            |    8 +-
 src/insets/RenderPreview.h            |   12 ++--
 src/mathed/InsetMath.h                |   18 ++--
 src/mathed/InsetMathAMSArray.h        |   38 +++++-----
 src/mathed/InsetMathArray.h           |   28 +++---
 src/mathed/InsetMathBig.h             |   22 +++---
 src/mathed/InsetMathBoldSymbol.h      |   24 +++---
 src/mathed/InsetMathBox.h             |   84 ++++++++++----------
 src/mathed/InsetMathBrace.h           |   28 +++---
 src/mathed/InsetMathCancel.h          |   20 +++---
 src/mathed/InsetMathCancelto.h        |   20 +++---
 src/mathed/InsetMathCases.h           |   34 ++++----
 src/mathed/InsetMathChar.h            |   32 ++++----
 src/mathed/InsetMathClass.h           |   16 ++--
 src/mathed/InsetMathColor.h           |   22 +++---
 src/mathed/InsetMathCommand.h         |   14 ++--
 src/mathed/InsetMathComment.h         |   26 +++---
 src/mathed/InsetMathDecoration.h      |   28 +++---
 src/mathed/InsetMathDelim.h           |   32 ++++----
 src/mathed/InsetMathDiagram.h         |   22 +++---
 src/mathed/InsetMathDiff.h            |   18 ++--
 src/mathed/InsetMathDots.h            |   16 ++--
 src/mathed/InsetMathEnsureMath.h      |   24 +++---
 src/mathed/InsetMathEnv.h             |   14 ++--
 src/mathed/InsetMathExFunc.h          |   22 +++---
 src/mathed/InsetMathExInt.h           |   20 +++---
 src/mathed/InsetMathFont.h            |   34 ++++----
 src/mathed/InsetMathFontOld.h         |   24 +++---
 src/mathed/InsetMathFrac.h            |   72 ++++++++--------
 src/mathed/InsetMathGrid.h            |   68 ++++++++--------
 src/mathed/InsetMathHull.h            |  120 ++++++++++++++--------------
 src/mathed/InsetMathKern.h            |   16 ++--
 src/mathed/InsetMathLefteqn.h         |   12 ++--
 src/mathed/InsetMathLim.h             |   18 ++--
 src/mathed/InsetMathMacro.cpp         |   38 +++++-----
 src/mathed/InsetMathMacro.h           |   92 +++++++++++-----------
 src/mathed/InsetMathMacroArgument.h   |   14 ++--
 src/mathed/InsetMathMacroTemplate.cpp |   32 ++++----
 src/mathed/InsetMathMacroTemplate.h   |   44 +++++-----
 src/mathed/InsetMathMatrix.h          |   24 +++---
 src/mathed/InsetMathNest.h            |   84 ++++++++++----------
 src/mathed/InsetMathNumber.h          |   20 +++---
 src/mathed/InsetMathOverset.h         |   22 +++---
 src/mathed/InsetMathPar.h             |   14 ++--
 src/mathed/InsetMathPhantom.h         |   20 +++---
 src/mathed/InsetMathRef.h             |   28 +++---
 src/mathed/InsetMathRoot.h            |   28 +++---
 src/mathed/InsetMathScript.h          |   48 ++++++------
 src/mathed/InsetMathSideset.h         |   34 ++++----
 src/mathed/InsetMathSize.h            |   20 +++---
 src/mathed/InsetMathSpace.h           |   36 ++++----
 src/mathed/InsetMathSpecialChar.h     |   36 ++++----
 src/mathed/InsetMathSplit.h           |   28 +++---
 src/mathed/InsetMathSqrt.h            |   26 +++---
 src/mathed/InsetMathStackrel.h        |   24 +++---
 src/mathed/InsetMathString.h          |   24 +++---
 src/mathed/InsetMathSubstack.h        |   26 +++---
 src/mathed/InsetMathSymbol.h          |   40 +++++-----
 src/mathed/InsetMathTabular.h         |   22 +++---
 src/mathed/InsetMathUnderset.h        |   22 +++---
 src/mathed/InsetMathUnknown.h         |   28 +++---
 src/mathed/InsetMathXArrow.h          |   20 +++---
 src/mathed/InsetMathXYMatrix.h        |   26 +++---
 src/support/FileName.h                |    2 +-
 src/support/ForkedCalls.h             |    4 +-
 src/support/Systemcall.cpp            |   30 ++++----
 src/support/Timeout.cpp               |    2 +-
 src/support/docstream.cpp             |   22 +++---
 src/support/docstring.cpp             |   68 ++++++++--------
 src/tex2lyx/tex2lyx.cpp               |    2 +-
 203 files changed, 2526 insertions(+), 2528 deletions(-)


More information about the lyx-cvs mailing list