summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-29 13:39:49 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-29 13:39:49 +1100
commita43b7cc56e3a3a145554932025acbca4156a15f1 (patch)
treebe19bad67a2d1eecabf200faf43bd2aaa42d49d0 /vcl/inc
parent528f5ec2a3ae3fff29943ce4762230a3e99a6151 (diff)
vcl: move NoAsk() functions to own grouping in impfont.hxx header
Change-Id: I361fa3be7dc974dbeefc05820c508cfc7098775d
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/impfont.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx
index cde8e097821c..74d541f02e62 100644
--- a/vcl/inc/impfont.hxx
+++ b/vcl/inc/impfont.hxx
@@ -39,17 +39,12 @@ public:
// device independent font functions
const OUString& GetFamilyName() const { return maFamilyName; }
FontFamily GetFamilyType() { if(meFamily==FAMILY_DONTKNOW) AskConfig(); return meFamily; }
- FontFamily GetFamilyTypeNoAsk() const { return meFamily; }
const OUString& GetStyleName() const { return maStyleName; }
FontWeight GetWeight() { if(meWeight==WEIGHT_DONTKNOW) AskConfig(); return meWeight; }
- FontWeight GetWeightNoAsk() const { return meWeight; }
FontItalic GetItalic() { if(meItalic==ITALIC_DONTKNOW) AskConfig(); return meItalic; }
- FontItalic GetItalicNoAsk() const { return meItalic; }
FontPitch GetPitch() { if(mePitch==PITCH_DONTKNOW) AskConfig(); return mePitch; }
- FontPitch GetPitchNoAsk() const { return mePitch; }
FontWidth GetWidthType() { if(meWidthType==WIDTH_DONTKNOW) AskConfig(); return meWidthType; }
- FontWidth GetWidthTypeNoAsk() const { return meWidthType; }
TextAlign GetAlignment() const { return meAlign; }
rtl_TextEncoding GetCharSet() const { return meCharSet; }
@@ -68,6 +63,13 @@ public:
void SetSymbolFlag( const bool bSymbolFlag ) { mbSymbol = bSymbolFlag; }
+ // straight properties, no getting them from AskConfig()
+ FontFamily GetFamilyTypeNoAsk() const { return meFamily; }
+ FontWeight GetWeightNoAsk() const { return meWeight; }
+ FontItalic GetItalicNoAsk() const { return meItalic; }
+ FontPitch GetPitchNoAsk() const { return mePitch; }
+ FontWidth GetWidthTypeNoAsk() const { return meWidthType; }
+
// device dependent functions
int GetQuality() const { return mnQuality; }
OUString GetMapNames() const { return maMapNames; }