summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorsahil <gautamsahil1947@gmail.com>2023-09-11 04:40:26 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2023-09-13 06:30:59 +0200
commitbf81be2641e8c66d78374289497b117fe3dfb024 (patch)
tree38c9c6cef27bcc535a32b2853da55558af2689ee /include/vcl
parent43df1237a091e2b0f4495d5a7e959f7beaab025d (diff)
tdf#90341 Clean up excessive const_cast'ing
Change-Id: I5e3cc14ed75309d0569a4bad710e7adea007329f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156807 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/font.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx
index 8f7363d816b7..944b43fae22f 100644
--- a/include/vcl/font.hxx
+++ b/include/vcl/font.hxx
@@ -108,6 +108,8 @@ public:
tools::Long GetFontHeight() const;
void SetAverageFontWidth( tools::Long nWidth );
tools::Long GetAverageFontWidth() const;
+ const Size& GetAverageFontSize() const;
+ const FontFamily& GetFontFamily() const;
// tdf#127471 for corrections on EMF/WMF we need the AvgFontWidth in Windows-specific notation
tools::Long GetOrCalculateAverageFontWidth() const;