summaryrefslogtreecommitdiff
path: root/include/vcl/fontcharmap.hxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-09-08 16:57:03 +0200
committerخالد حسني <khaled@aliftype.com>2022-09-08 22:15:25 +0200
commit88d7aa8ab79b1197191b5eb24a3b67d313797026 (patch)
treebc996c119a40d3cd916a0cacecae6296c49f5300 /include/vcl/fontcharmap.hxx
parent91c0a4b982f5af093feb80eabe22b73376b5a430 (diff)
vcl: Drop CmapResult indirection
Change-Id: I3b1beb5e976a255ef8ecdf8670b1e59547ec5ea4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139700 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'include/vcl/fontcharmap.hxx')
-rw-r--r--include/vcl/fontcharmap.hxx17
1 files changed, 2 insertions, 15 deletions
diff --git a/include/vcl/fontcharmap.hxx b/include/vcl/fontcharmap.hxx
index d79ffce7be92..f7bea49f0f7a 100644
--- a/include/vcl/fontcharmap.hxx
+++ b/include/vcl/fontcharmap.hxx
@@ -25,7 +25,6 @@
#include <tools/ref.hxx>
class ImplFontCharMap;
-class CmapResult;
class FontCharMap;
class OutputDevice;
@@ -40,9 +39,9 @@ public:
**/
FontCharMap();
- /** A new FontCharMap is created based on the CmapResult
+ /** A new FontCharMap is created based on passed arguments.
*/
- FontCharMap( const CmapResult& rCR );
+ FontCharMap(bool bSymbolic, const sal_UCS4* pRangeCodes, int nRangeCount);
virtual ~FontCharMap() override;
@@ -154,18 +153,6 @@ private:
void operator=( const FontCharMap& ) = delete;
};
-// CmapResult is a normalized version of the many CMAP formats
-class VCL_PLUGIN_PUBLIC CmapResult
-{
-public:
- explicit CmapResult( bool bSymbolic = false,
- const sal_UCS4* pRangeCodes = nullptr, int nRangeCount = 0 );
-
- const sal_UCS4* mpRangeCodes;
- int mnRangeCount;
- bool mbSymbolic;
-};
-
#endif // INCLUDED_FONTCHARMAP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */