From bfd690701ff414496ad77c2b268bf7200947dc3a Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Wed, 13 Jan 2016 12:13:12 +1100 Subject: vcl: Create accessor and mutator for full stop centered in FontMetric Accessor and mutator created for full stop centered flag, removed bit field. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit tests - check to ensure that can set full stop centered flag - check equality operator on FontMetric after setting full stop centered flag Change-Id: I9cacb0fbf9ea65cfebcaebdc9f0481c0a796cbcf Reviewed-on: https://gerrit.libreoffice.org/21413 Reviewed-by: Chris Sherlock Tested-by: Chris Sherlock --- include/vcl/metric.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx index e289b722cbb1..f3de0183bb3c 100644 --- a/include/vcl/metric.hxx +++ b/include/vcl/metric.hxx @@ -52,11 +52,13 @@ public: long GetExtLeading() const; long GetLineHeight() const; long GetSlant() const; + long GetBulletOffset() const; + bool IsScalable() const; bool IsFullstopCentered() const; - long GetBulletOffset() const; void SetScalableFlag(bool); + void SetFullstopCenteredFlag(bool); FontMetric& operator=( const FontMetric& rMetric ); bool operator==( const FontMetric& rMetric ) const; -- cgit