summaryrefslogtreecommitdiff
path: root/vcl/inc/impfont.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-14 09:11:20 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-14 09:11:20 +1100
commit1ccece2f322eae35601bf09c57ea583f8b270574 (patch)
tree0f1eb7ac832abbc42116401863188f0a591520b5 /vcl/inc/impfont.hxx
parent71d5ffba4434538e7897b288ddfa2e0a6df03dd2 (diff)
vcl: Create mutator for bullet offset attribute in FontMetric
Mutator created for bullet offset attribute in FontMetric. 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 get and set bullet offset attribute - check equality operator on FontMetric after setting bullet offset attribute Change-Id: I87a76982a8b3ed697664299cb340fa35fb514c0e
Diffstat (limited to 'vcl/inc/impfont.hxx')
-rw-r--r--vcl/inc/impfont.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx
index ee66fad0b88b..8ff0aab7b894 100644
--- a/vcl/inc/impfont.hxx
+++ b/vcl/inc/impfont.hxx
@@ -129,6 +129,7 @@ public:
void SetExternalLeading( long nExtLeading ) { mnExtLeading = nExtLeading; }
void SetLineHeight( long nHeight ) { mnLineHeight = nHeight; }
void SetSlant( long nSlant ) { mnSlant = nSlant; }
+ void SetBulletOffset( long nOffset ) { mnBulletOffset = nOffset; }
bool IsScalable() const { return mbScalableFont; }
bool IsFullstopCentered() const { return mbFullstopCentered; }