diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-17 15:03:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-17 17:37:20 +0200 |
commit | 4dc1a911a5b20bf08341b1db098a577ecc9afea3 (patch) | |
tree | a67c924df3c162856bd6d0b0fe6c45a2701c8350 /starmath | |
parent | 05b2436ce1c9c4609810e61cfc3b282d33ed9456 (diff) |
use reserve before filling some vectors
Change-Id: Ib2ae513de46b2a0c16101747540ba09a7cdfb018
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134481
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathtype.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index d9306c2402df..d261f5770dfe 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -28,6 +28,7 @@ void MathType::Init() { //These are the default MathType sizes + aSizeTable.reserve(7); aSizeTable.push_back(12); aSizeTable.push_back(8); aSizeTable.push_back(6); |