summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-09-08 17:13:25 +0200
committerخالد حسني <khaled@aliftype.com>2022-09-10 07:54:29 +0200
commitf4bd06f9928fc01762f9e52c5bebcb3137b39665 (patch)
tree6bac7330cfd12a672a7b13231a99f891131d2a39 /include
parent235b30bdfa76b5c0514c7dfe2a0d13ab8ecf5be2 (diff)
vcl: Use vector instead of array for FontCharMap ranges
Change-Id: I8846c89d51cc33022f90c3a9c03bc1560497e651 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139701 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/fontcharmap.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/fontcharmap.hxx b/include/vcl/fontcharmap.hxx
index f7bea49f0f7a..de41b4925683 100644
--- a/include/vcl/fontcharmap.hxx
+++ b/include/vcl/fontcharmap.hxx
@@ -23,6 +23,7 @@
#include <vcl/dllapi.h>
#include <vcl/vclenum.hxx>
#include <tools/ref.hxx>
+#include <vector>
class ImplFontCharMap;
class FontCharMap;
@@ -41,7 +42,7 @@ public:
/** A new FontCharMap is created based on passed arguments.
*/
- FontCharMap(bool bSymbolic, const sal_UCS4* pRangeCodes, int nRangeCount);
+ FontCharMap(bool bSymbolic, std::vector<sal_UCS4> aRangeCodes);
virtual ~FontCharMap() override;