summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-10-08 08:36:45 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-10-24 20:58:33 +0200
commitd0f8aeb92af554fdce8c02985a4b1aebf30106ed (patch)
tree33c9eed6f6e1a056290fa2b4ca5242b4f78f1834 /include
parentclang does not support -flto=<number> (diff)
downloadcore-d0f8aeb92af554fdce8c02985a4b1aebf30106ed.tar.gz
core-d0f8aeb92af554fdce8c02985a4b1aebf30106ed.zip
remove slow wrappers for std::vector
Noel has already done this in master in a number of commits, this one changes those that make SfxViewShell:GetFirst/Next slower. Change-Id: I69dcb026ce969731071be55f36d3c6d42daa89e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124116 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/app.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 9714ad8e13d5..38aa6afb86fc 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -43,15 +43,16 @@ class SfxDispatcher;
class SfxEventHint;
class SfxItemSet;
class SfxObjectShell;
-class SfxObjectShellArr_Impl;
+typedef ::std::vector<SfxObjectShell*> SfxObjectShellArr_Impl;
class SfxObjectShellLock;
class SfxProgress;
class SfxSlotPool;
class SfxStbCtrlFactArr_Impl;
class SfxTbxCtrlFactArr_Impl;
class SfxViewFrame;
-class SfxViewFrameArr_Impl;
-class SfxViewShellArr_Impl;
+typedef ::std::vector<SfxViewFrame*> SfxViewFrameArr_Impl;
+class SfxViewShell;
+typedef ::std::vector<SfxViewShell*> SfxViewShellArr_Impl;
class StarBASIC;
class SfxWorkWindow;
class SfxFilterMatcher;