office-gobmx/include/sfx2
Noel Grandin d4c0e39d93 make the slot data constinit
because it takes a surprising amount of time to initialise it
at runtime during startup

(*) have to convert the std::function in SfxType to a
function pointer, because the std::function constructor
is not constinit compatible.

(*) the SfxType0..SfxTypeN types need some reinterpret_cast
to work around the lack of zero-sized trailing arrays in c++

(*) Sadly MSVC does not support taking the address of symbols
in constinit structures, so we cannot make the SfxSlot
array constinit.

Change-Id: I300ee770cc115d30bc25c819f2ad34b29633876c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166963
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-02 14:37:56 +02:00
..
devtools Move ObjectInspectorWidgets code into cxx file 2024-04-25 20:36:19 +02:00
notebookbar lok: introduce NotebookBarViewManager and NotebookBarViewData 2024-01-30 10:10:07 +01:00
sidebar reduce symbol visibility 2024-04-29 12:54:43 +02:00
AccessibilityCheck.hxx
AccessibilityIssue.hxx tdf#43784 tdf#158114 sw accessibility: check missing linked graphic 2023-11-08 21:16:59 +01:00
app.hxx reduce symbol visibility 2024-04-28 22:30:17 +02:00
basedlgs.hxx ITEM: Move TotalCount to WhichRangesContainer 2024-03-19 10:43:03 +01:00
bindings.hxx cool#7492 sfx2 lok: fix bad view id / statusbar string on async binding update 2024-01-08 08:27:18 +01:00
brokenpackageint.hxx
chalign.hxx
charwin.hxx hide more symbols 2024-02-19 09:09:06 +01:00
childwin.hxx tdf#153690 Prevent invisible dialogs in Calc Full Screen 2023-12-21 21:17:42 +01:00
classificationhelper.hxx
ctrlitem.hxx
dialoghelper.hxx
digitalsignatures.hxx
dinfdlg.hxx sw lok: .uno:SetDocumentProperties: add file size parameter 2024-04-17 13:32:27 +02:00
dispatch.hxx Enable allowing comment editing in readOnly view mode. 2024-04-06 22:10:57 +02:00
dllapi.h
docfac.hxx
docfile.hxx Add SfxMedium::IsRepairPackage 2024-02-02 08:49:14 +01:00
docfilt.hxx tdf#156611 SC: hyperlink option for MS behaviour 2023-08-23 15:23:16 +02:00
docinf.hxx
docinsert.hxx
dockwin.hxx
docmacromode.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
docstoragemodifylistener.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
doctempl.hxx
DocumentMetadataAccess.hxx
DocumentSigner.hxx
event.hxx Use weak reference to SfxObjectShell in SfxEventHint to avoid use-after-free 2024-03-11 04:43:28 +01:00
evntconf.hxx Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String 2023-10-23 11:04:42 +02:00
fcontnr.hxx
filedlghelper.hxx Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String 2023-10-23 11:04:42 +02:00
flatpak.hxx
frame.hxx ITEM: Remove suspicious extra-Which in ::Put 2024-01-17 01:56:01 +01:00
frmdescr.hxx
frmhtml.hxx
frmhtmlw.hxx use more string_view 2024-03-08 07:06:13 +01:00
groupid.hxx
htmlmode.hxx
IDocumentModelAccessor.hxx Fix typo 2024-02-01 12:12:10 +01:00
infobar.hxx
inputdlg.hxx cid#1545222 COPY_INSTEAD_OF_MOVE 2023-12-19 09:42:03 +01:00
ipclient.hxx use more ErrCodeMsg 2023-10-06 09:53:07 +02:00
linkmgr.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
linksrc.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
listview.hxx
lnkbase.hxx
lokcallback.hxx fix leaks when using tools::JsonWriter 2023-04-05 17:02:46 +02:00
lokcomponenthelpers.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
LokControlHandler.hxx tdf#146619 Recheck include/s* with IWYU 2023-10-02 21:32:00 +02:00
lokhelper.hxx Use a for loop for setting view properties. 2024-05-01 16:16:52 +02:00
mailmodelapi.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
Metadatable.hxx
mieclip.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
minfitem.hxx
module.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
msg.hxx make the slot data constinit 2024-05-02 14:37:56 +02:00
msgpool.hxx
namedcolor.hxx ComplexColor various clean-up and (trivial) refactorings 2023-08-15 20:58:13 +02:00
navigat.hxx
new.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
newstyle.hxx
objface.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
objitem.hxx
objsh.hxx loplugin:constantparam 2024-04-22 13:26:28 +02:00
opengrf.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
pageids.hxx
passwd.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
printer.hxx
printopt.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
progress.hxx
QuerySaveDocument.hxx
request.hxx Remove DeleteItemOnIdlex 2023-12-21 21:13:55 +01:00
safemode.hxx
sfxbasecontroller.hxx
sfxbasemodel.hxx tdf#146619 Recheck include/ with find-unneeded-includes --noexclude 2023-12-24 12:14:14 +01:00
sfxdlg.hxx Resolves tdf#159573 and tdf#137931 - WhatsNew or Welcome dialog 2024-03-27 09:41:44 +01:00
sfxhelp.hxx
sfxhtml.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
sfxmodelfactory.hxx
sfxresid.hxx
sfxsids.hrc Resolves tdf#159573 and tdf#137931 - WhatsNew or Welcome dialog 2024-03-27 09:41:44 +01:00
sfxstatuslistener.hxx
sfxuno.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
shell.hxx Remove DeleteItemOnIdlex 2023-12-21 21:13:55 +01:00
signaturestate.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
stbitem.hxx Revert "clang-tidy bugprone-parent-virtual-call in sfx2" 2023-08-13 14:03:44 +02:00
strings.hrc Resolves tdf#159573 and tdf#137931 - WhatsNew or Welcome dialog 2024-03-27 09:41:44 +01:00
styfitem.hxx
styledlg.hxx
StyleManager.hxx
StylePreviewRenderer.hxx
tabdlg.hxx ITEM: Rename for more control over SlotID usages 2024-02-18 21:37:52 +01:00
tbxctrl.hxx
templatedlg.hxx reduce symbol visibility 2024-04-28 22:30:17 +02:00
templatedlglocalview.hxx
templatelocalview.hxx rearrange to clarify that ThumbnailViewItem* was never null 2024-04-29 09:29:17 +02:00
templateproperties.hxx
templdlg.hxx tdf#156114 UNO commands / menu entries to enable PS/CS spotlight 2023-10-18 04:13:55 +02:00
thumbnailview.hxx rearrange to clarify that ThumbnailViewItem* was never null 2024-04-29 09:29:17 +02:00
thumbnailviewitem.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
toolbarids.hxx
tplpitem.hxx
userinputinterception.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
viewfac.hxx tdf#143148 use pragma once instead of include guards 2024-01-29 10:30:01 +01:00
viewfrm.hxx reduce symbol visibility 2024-04-28 22:30:17 +02:00
viewsh.hxx null-deref in SfxViewShell::isBlockedCommand 2024-04-15 22:17:19 +02:00
watermarkitem.hxx
weldutils.hxx
XmlIdRegistry.hxx
zoomitem.hxx use more TypedWhichId 2023-05-26 13:49:54 +02:00