diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-26 10:52:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-26 11:42:49 +0200 |
commit | f2964b9cdb04595e842de329222ffa2b63e5d7f7 (patch) | |
tree | 20470a5ecb639d74fa260711583139bb4a6ad41e /starmath | |
parent | 6f691e9c763e4c5f13a745a56fe4d889188187ed (diff) |
convert SfxGroupId to scoped enum
in the process I had to teach the idl compiler to cope with identifiers
like SfxGroupID::Math, which has the side effect of requiring a space
before a ':' in some of the .sdi files.
Change-Id: If256599cb8aa1dfc0a33642c5070c5560702f3ba
Reviewed-on: https://gerrit.libreoffice.org/40441
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/sdi/smath.sdi | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/starmath/sdi/smath.sdi b/starmath/sdi/smath.sdi index 4f479193ee4e..bf564dcf88cc 100644 --- a/starmath/sdi/smath.sdi +++ b/starmath/sdi/smath.sdi @@ -30,7 +30,7 @@ SfxVoidItem ChangeAlignment SID_ALIGN AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_FORMAT; + GroupId = SfxGroupId::Format; ] @@ -48,7 +48,7 @@ SfxVoidItem ChangeDistance SID_DISTANCE AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_FORMAT; + GroupId = SfxGroupId::Format; ] @@ -66,7 +66,7 @@ SfxVoidItem ChangeFont SID_FONT AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_FORMAT; + GroupId = SfxGroupId::Format; ] @@ -84,7 +84,7 @@ SfxVoidItem ChangeFontSize SID_FONTSIZE AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_FORMAT; + GroupId = SfxGroupId::Format; ] @@ -102,7 +102,7 @@ SfxVoidItem CommandWindow SID_CMDBOXWINDOW AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] @@ -120,7 +120,7 @@ SfxVoidItem ElementsDockingWindow SID_ELEMENTSDOCKINGWINDOW AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] @@ -139,7 +139,7 @@ SfxStringItem ConfigName SID_TEXT AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] @@ -157,7 +157,7 @@ SfxVoidItem CopyObject SID_COPYOBJECT AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_EDIT; + GroupId = SfxGroupId::Edit; ] @@ -175,7 +175,7 @@ SfxVoidItem Draw SID_DRAW AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] @@ -193,7 +193,7 @@ SfxVoidItem FormelCursor SID_FORMULACURSOR AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_MATH; + GroupId = SfxGroupId::Math; ] @@ -212,7 +212,7 @@ SfxInt16Item Graphic SID_GAPHIC_SM AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_MATH; + GroupId = SfxGroupId::Math; ] @@ -231,7 +231,7 @@ SfxVoidItem InsertCommandText SID_INSERTCOMMANDTEXT AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_INSERT; + GroupId = SfxGroupId::Insert; ] @@ -250,7 +250,7 @@ SfxVoidItem InsertConfigName SID_INSERTSYMBOL AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_INSERT; + GroupId = SfxGroupId::Insert; ] @@ -269,7 +269,7 @@ SfxVoidItem ImportFormula SID_IMPORT_FORMULA AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_INSERT; + GroupId = SfxGroupId::Insert; ] SfxVoidItem ImportMathMLClipboard SID_IMPORT_MATHML_CLIPBOARD @@ -286,7 +286,7 @@ SfxVoidItem ImportMathMLClipboard SID_IMPORT_MATHML_CLIPBOARD AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_INSERT; + GroupId = SfxGroupId::Insert; ] SfxVoidItem LoadSymbols SID_LOADSYMBOLS @@ -304,7 +304,7 @@ SfxVoidItem LoadSymbols SID_LOADSYMBOLS AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_OPTIONS; + GroupId = SfxGroupId::Options; ] @@ -323,7 +323,7 @@ SfxStringItem ModifyStatus SID_MODIFYSTATUS AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] @@ -341,7 +341,7 @@ SfxVoidItem NextError SID_NEXTERR AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_NAVIGATOR; + GroupId = SfxGroupId::Navigator; ] @@ -359,7 +359,7 @@ SfxVoidItem NextMark SID_NEXTMARK AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_NAVIGATOR; + GroupId = SfxGroupId::Navigator; ] @@ -377,7 +377,7 @@ SfxVoidItem PasteObject SID_PASTEOBJECT AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_EDIT; + GroupId = SfxGroupId::Edit; ] @@ -395,7 +395,7 @@ SfxVoidItem PrevError SID_PREVERR AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_NAVIGATOR; + GroupId = SfxGroupId::Navigator; ] @@ -413,7 +413,7 @@ SfxVoidItem PrevMark SID_PREVMARK AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_NAVIGATOR; + GroupId = SfxGroupId::Navigator; ] @@ -432,7 +432,7 @@ SfxBoolItem RedrawAutomatic SID_AUTO_REDRAW AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] @@ -450,7 +450,7 @@ SfxVoidItem SaveSymbols SID_SAVESYMBOLS AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_OPTIONS; + GroupId = SfxGroupId::Options; ] @@ -468,7 +468,7 @@ SfxVoidItem SetPaperSize SID_GETEDITTEXT AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_MATH; + GroupId = SfxGroupId::Math; ] @@ -486,7 +486,7 @@ SfxVoidItem SymbolCatalogue SID_SYMBOLS_CATALOGUE AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_OPTIONS; + GroupId = SfxGroupId::Options; ] @@ -505,7 +505,7 @@ SfxBoolItem Textmode SID_TEXTMODE AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] @@ -524,7 +524,7 @@ SfxStringItem TextStatus SID_TEXTSTATUS AccelConfig = FALSE, MenuConfig = FALSE, ToolBoxConfig = FALSE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] @@ -542,7 +542,7 @@ SfxVoidItem ZoomIn SID_ZOOMIN AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] @@ -560,5 +560,5 @@ SfxVoidItem ZoomOut SID_ZOOMOUT AccelConfig = TRUE, MenuConfig = TRUE, ToolBoxConfig = TRUE, - GroupId = GID_VIEW; + GroupId = SfxGroupId::View; ] |