diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-15 15:53:44 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-15 18:39:30 +1100 |
commit | 51b1b469abdc33a3c92f2a95cd4d326d9166ef05 (patch) | |
tree | 7f400c76618a3b88cc75e0829f7e3bc4a9cd41de /vcl/source | |
parent | ed373ea7efd34ca6baab8ddbf809e6f2a06f1a9e (diff) |
vcl: create a default FontAttributes constructor
Change-Id: If2f297c9c4ee1dd4aff5d24ddd55fa4bb33073e0
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/font/fontattributes.cxx | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/vcl/source/font/fontattributes.cxx b/vcl/source/font/fontattributes.cxx index e750e65538f8..74c120c43cf8 100644 --- a/vcl/source/font/fontattributes.cxx +++ b/vcl/source/font/fontattributes.cxx @@ -58,10 +58,19 @@ #include <memory> #include <algorithm> -using namespace ::com::sun::star; -using namespace ::com::sun::star::uno; -using namespace ::rtl; -using namespace ::utl; +FontAttributes::FontAttributes() +: meWeight( WEIGHT_DONTKNOW ), + mePitch( PITCH_DONTKNOW ), + meWidthType ( WIDTH_DONTKNOW ), + meItalic ( ITALIC_NONE ), + mbSymbolFlag( false ), + mnQuality( 0 ), + mbOrientation( false ), + mbDevice( false ), + mbSubsettable( false ), + mbEmbeddable ( false ) +{} + bool FontAttributes::CompareDeviceIndependentFontAttributes(const FontAttributes& rOther) const { |